Struct cln_rpc::model::responses::WaitinvoiceResponse
source · pub struct WaitinvoiceResponse {Show 15 fields
pub amount_msat: Option<Amount>,
pub amount_received_msat: Option<Amount>,
pub bolt11: Option<String>,
pub bolt12: Option<String>,
pub created_index: Option<u64>,
pub paid_at: Option<u64>,
pub paid_outpoint: Option<WaitinvoicePaid_outpoint>,
pub pay_index: Option<u64>,
pub payment_preimage: Option<Secret>,
pub updated_index: Option<u64>,
pub status: WaitinvoiceStatus,
pub description: String,
pub expires_at: u64,
pub label: String,
pub payment_hash: Sha256,
}
Fields§
§amount_msat: Option<Amount>
§amount_received_msat: Option<Amount>
§bolt11: Option<String>
§bolt12: Option<String>
§created_index: Option<u64>
§paid_at: Option<u64>
§paid_outpoint: Option<WaitinvoicePaid_outpoint>
§pay_index: Option<u64>
§payment_preimage: Option<Secret>
§updated_index: Option<u64>
§status: WaitinvoiceStatus
§description: String
§expires_at: u64
§label: String
§payment_hash: Sha256
Trait Implementations§
source§impl Clone for WaitinvoiceResponse
impl Clone for WaitinvoiceResponse
source§fn clone(&self) -> WaitinvoiceResponse
fn clone(&self) -> WaitinvoiceResponse
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for WaitinvoiceResponse
impl Debug for WaitinvoiceResponse
source§impl<'de> Deserialize<'de> for WaitinvoiceResponse
impl<'de> Deserialize<'de> for WaitinvoiceResponse
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for WaitinvoiceResponse
impl Serialize for WaitinvoiceResponse
Auto Trait Implementations§
impl Freeze for WaitinvoiceResponse
impl RefUnwindSafe for WaitinvoiceResponse
impl Send for WaitinvoiceResponse
impl Sync for WaitinvoiceResponse
impl Unpin for WaitinvoiceResponse
impl UnwindSafe for WaitinvoiceResponse
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more