Struct cln_rpc::model::responses::DelinvoiceResponse
source · pub struct DelinvoiceResponse {
pub label: String,
pub bolt11: Option<String>,
pub bolt12: Option<String>,
pub amount_msat: Option<Amount>,
pub description: Option<String>,
pub payment_hash: Sha256,
pub created_index: Option<u64>,
pub updated_index: Option<u64>,
pub status: DelinvoiceStatus,
pub expires_at: u64,
pub local_offer_id: Option<String>,
pub invreq_payer_note: Option<String>,
}
Fields§
§label: String
§bolt11: Option<String>
§bolt12: Option<String>
§amount_msat: Option<Amount>
§description: Option<String>
§payment_hash: Sha256
§created_index: Option<u64>
§updated_index: Option<u64>
§status: DelinvoiceStatus
§expires_at: u64
§local_offer_id: Option<String>
§invreq_payer_note: Option<String>
Trait Implementations§
source§impl Clone for DelinvoiceResponse
impl Clone for DelinvoiceResponse
source§fn clone(&self) -> DelinvoiceResponse
fn clone(&self) -> DelinvoiceResponse
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 DelinvoiceResponse
impl Debug for DelinvoiceResponse
source§impl<'de> Deserialize<'de> for DelinvoiceResponse
impl<'de> Deserialize<'de> for DelinvoiceResponse
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 DelinvoiceResponse
impl Serialize for DelinvoiceResponse
Auto Trait Implementations§
impl RefUnwindSafe for DelinvoiceResponse
impl Send for DelinvoiceResponse
impl Sync for DelinvoiceResponse
impl Unpin for DelinvoiceResponse
impl UnwindSafe for DelinvoiceResponse
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