Struct cln_rpc::model::responses::WaitanyinvoiceResponse
source · pub struct WaitanyinvoiceResponse {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<WaitanyinvoicePaid_outpoint>,
pub pay_index: Option<u64>,
pub payment_preimage: Option<Secret>,
pub updated_index: Option<u64>,
pub status: WaitanyinvoiceStatus,
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<WaitanyinvoicePaid_outpoint>
§pay_index: Option<u64>
§payment_preimage: Option<Secret>
§updated_index: Option<u64>
§status: WaitanyinvoiceStatus
§description: String
§expires_at: u64
§label: String
§payment_hash: Sha256
Trait Implementations§
source§impl Clone for WaitanyinvoiceResponse
impl Clone for WaitanyinvoiceResponse
source§fn clone(&self) -> WaitanyinvoiceResponse
fn clone(&self) -> WaitanyinvoiceResponse
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 WaitanyinvoiceResponse
impl Debug for WaitanyinvoiceResponse
source§impl<'de> Deserialize<'de> for WaitanyinvoiceResponse
impl<'de> Deserialize<'de> for WaitanyinvoiceResponse
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 WaitanyinvoiceResponse
impl Serialize for WaitanyinvoiceResponse
Auto Trait Implementations§
impl Freeze for WaitanyinvoiceResponse
impl RefUnwindSafe for WaitanyinvoiceResponse
impl Send for WaitanyinvoiceResponse
impl Sync for WaitanyinvoiceResponse
impl Unpin for WaitanyinvoiceResponse
impl UnwindSafe for WaitanyinvoiceResponse
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