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