55#[ allow( clippy:: derive_partial_eq_without_eq) ]
66#[ derive( Clone , PartialEq , :: prost:: Message ) ]
77pub struct GetNodeInfoRequest { }
8+ /// The response `content` for the `GetNodeInfo` API, when HttpStatusCode is OK (200).
9+ /// When HttpStatusCode is not OK (non-200), the response `content` contains a serialized `ErrorResponse`.
810#[ allow( clippy:: derive_partial_eq_without_eq) ]
911#[ derive( Clone , PartialEq , :: prost:: Message ) ]
1012pub struct GetNodeInfoResponse {
@@ -50,6 +52,8 @@ pub struct GetNodeInfoResponse {
5052#[ allow( clippy:: derive_partial_eq_without_eq) ]
5153#[ derive( Clone , PartialEq , :: prost:: Message ) ]
5254pub struct OnchainReceiveRequest { }
55+ /// The response `content` for the `OnchainReceive` API, when HttpStatusCode is OK (200).
56+ /// When HttpStatusCode is not OK (non-200), the response `content` contains a serialized `ErrorResponse`..
5357#[ allow( clippy:: derive_partial_eq_without_eq) ]
5458#[ derive( Clone , PartialEq , :: prost:: Message ) ]
5559pub struct OnchainReceiveResponse {
@@ -80,6 +84,8 @@ pub struct OnchainSendRequest {
8084 #[ prost( bool , optional, tag = "3" ) ]
8185 pub send_all : :: core:: option:: Option < bool > ,
8286}
87+ /// The response `content` for the `OnchainSend` API, when HttpStatusCode is OK (200).
88+ /// When HttpStatusCode is not OK (non-200), the response `content` contains a serialized `ErrorResponse`.
8389#[ allow( clippy:: derive_partial_eq_without_eq) ]
8490#[ derive( Clone , PartialEq , :: prost:: Message ) ]
8591pub struct OnchainSendResponse {
@@ -107,6 +113,8 @@ pub struct Bolt11ReceiveRequest {
107113 #[ prost( uint32, tag = "3" ) ]
108114 pub expiry_secs : u32 ,
109115}
116+ /// The response `content` for the `Bolt11Receive` API, when HttpStatusCode is OK (200).
117+ /// When HttpStatusCode is not OK (non-200), the response `content` contains a serialized `ErrorResponse`.
110118#[ allow( clippy:: derive_partial_eq_without_eq) ]
111119#[ derive( Clone , PartialEq , :: prost:: Message ) ]
112120pub struct Bolt11ReceiveResponse {
@@ -130,6 +138,8 @@ pub struct Bolt11SendRequest {
130138 #[ prost( uint64, optional, tag = "2" ) ]
131139 pub amount_msat : :: core:: option:: Option < u64 > ,
132140}
141+ /// The response `content` for the `Bolt11Send` API, when HttpStatusCode is OK (200).
142+ /// When HttpStatusCode is not OK (non-200), the response `content` contains a serialized `ErrorResponse`.
133143#[ allow( clippy:: derive_partial_eq_without_eq) ]
134144#[ derive( Clone , PartialEq , :: prost:: Message ) ]
135145pub struct Bolt11SendResponse {
@@ -159,6 +169,8 @@ pub struct Bolt12ReceiveRequest {
159169 #[ prost( uint64, optional, tag = "4" ) ]
160170 pub quantity : :: core:: option:: Option < u64 > ,
161171}
172+ /// The response `content` for the `Bolt12Receive` API, when HttpStatusCode is OK (200).
173+ /// When HttpStatusCode is not OK (non-200), the response `content` contains a serialized `ErrorResponse`.
162174#[ allow( clippy:: derive_partial_eq_without_eq) ]
163175#[ derive( Clone , PartialEq , :: prost:: Message ) ]
164176pub struct Bolt12ReceiveResponse {
@@ -190,6 +202,8 @@ pub struct Bolt12SendRequest {
190202 #[ prost( string, optional, tag = "4" ) ]
191203 pub payer_note : :: core:: option:: Option < :: prost:: alloc:: string:: String > ,
192204}
205+ /// The response `content` for the `Bolt12Send` API, when HttpStatusCode is OK (200).
206+ /// When HttpStatusCode is not OK (non-200), the response `content` contains a serialized `ErrorResponse`.
193207#[ allow( clippy:: derive_partial_eq_without_eq) ]
194208#[ derive( Clone , PartialEq , :: prost:: Message ) ]
195209pub struct Bolt12SendResponse {
@@ -222,6 +236,8 @@ pub struct OpenChannelRequest {
222236 #[ prost( bool , tag = "6" ) ]
223237 pub announce_channel : bool ,
224238}
239+ /// The response `content` for the `OpenChannel` API, when HttpStatusCode is OK (200).
240+ /// When HttpStatusCode is not OK (non-200), the response `content` contains a serialized `ErrorResponse`.
225241#[ allow( clippy:: derive_partial_eq_without_eq) ]
226242#[ derive( Clone , PartialEq , :: prost:: Message ) ]
227243pub struct OpenChannelResponse {
@@ -244,6 +260,8 @@ pub struct UpdateChannelConfigRequest {
244260 #[ prost( message, optional, tag = "3" ) ]
245261 pub channel_config : :: core:: option:: Option < super :: types:: ChannelConfig > ,
246262}
263+ /// The response `content` for the `UpdateChannelConfig` API, when HttpStatusCode is OK (200).
264+ /// When HttpStatusCode is not OK (non-200), the response `content` contains a serialized `ErrorResponse`.
247265#[ allow( clippy:: derive_partial_eq_without_eq) ]
248266#[ derive( Clone , PartialEq , :: prost:: Message ) ]
249267pub struct UpdateChannelConfigResponse { }
@@ -267,6 +285,8 @@ pub struct CloseChannelRequest {
267285 #[ prost( string, optional, tag = "4" ) ]
268286 pub force_close_reason : :: core:: option:: Option < :: prost:: alloc:: string:: String > ,
269287}
288+ /// The response `content` for the `CloseChannel` API, when HttpStatusCode is OK (200).
289+ /// When HttpStatusCode is not OK (non-200), the response `content` contains a serialized `ErrorResponse`.
270290#[ allow( clippy:: derive_partial_eq_without_eq) ]
271291#[ derive( Clone , PartialEq , :: prost:: Message ) ]
272292pub struct CloseChannelResponse { }
@@ -275,6 +295,8 @@ pub struct CloseChannelResponse {}
275295#[ allow( clippy:: derive_partial_eq_without_eq) ]
276296#[ derive( Clone , PartialEq , :: prost:: Message ) ]
277297pub struct ListChannelsRequest { }
298+ /// The response `content` for the `ListChannels` API, when HttpStatusCode is OK (200).
299+ /// When HttpStatusCode is not OK (non-200), the response `content` contains a serialized `ErrorResponse`.
278300#[ allow( clippy:: derive_partial_eq_without_eq) ]
279301#[ derive( Clone , PartialEq , :: prost:: Message ) ]
280302pub struct ListChannelsResponse {
@@ -291,6 +313,8 @@ pub struct GetPaymentDetailsRequest {
291313 #[ prost( string, tag = "1" ) ]
292314 pub payment_id : :: prost:: alloc:: string:: String ,
293315}
316+ /// The response `content` for the `GetPaymentDetails` API, when HttpStatusCode is OK (200).
317+ /// When HttpStatusCode is not OK (non-200), the response `content` contains a serialized `ErrorResponse`.
294318#[ allow( clippy:: derive_partial_eq_without_eq) ]
295319#[ derive( Clone , PartialEq , :: prost:: Message ) ]
296320pub struct GetPaymentDetailsResponse {
@@ -304,6 +328,8 @@ pub struct GetPaymentDetailsResponse {
304328#[ allow( clippy:: derive_partial_eq_without_eq) ]
305329#[ derive( Clone , PartialEq , :: prost:: Message ) ]
306330pub struct ListPaymentsRequest { }
331+ /// The response `content` for the `ListPayments` API, when HttpStatusCode is OK (200).
332+ /// When HttpStatusCode is not OK (non-200), the response `content` contains a serialized `ErrorResponse`.
307333#[ allow( clippy:: derive_partial_eq_without_eq) ]
308334#[ derive( Clone , PartialEq , :: prost:: Message ) ]
309335pub struct ListPaymentsResponse {
@@ -316,6 +342,8 @@ pub struct ListPaymentsResponse {
316342#[ allow( clippy:: derive_partial_eq_without_eq) ]
317343#[ derive( Clone , PartialEq , :: prost:: Message ) ]
318344pub struct GetBalancesRequest { }
345+ /// The response `content` for the `GetBalances` API, when HttpStatusCode is OK (200).
346+ /// When HttpStatusCode is not OK (non-200), the response `content` contains a serialized `ErrorResponse`.
319347#[ allow( clippy:: derive_partial_eq_without_eq) ]
320348#[ derive( Clone , PartialEq , :: prost:: Message ) ]
321349pub struct GetBalancesResponse {
0 commit comments