Struct cln_rpc::model::responses::DecodepayResponse
source · pub struct DecodepayResponse {Show 15 fields
pub currency: String,
pub created_at: u64,
pub expiry: u64,
pub payee: PublicKey,
pub amount_msat: Option<Amount>,
pub payment_hash: Sha256,
pub signature: String,
pub description: Option<String>,
pub description_hash: Option<Sha256>,
pub min_final_cltv_expiry: u32,
pub payment_secret: Option<Sha256>,
pub features: Option<String>,
pub payment_metadata: Option<String>,
pub fallbacks: Option<Vec<DecodepayFallbacks>>,
pub extra: Option<Vec<DecodepayExtra>>,
}
Fields§
§currency: String
§created_at: u64
§expiry: u64
§payee: PublicKey
§amount_msat: Option<Amount>
§payment_hash: Sha256
§signature: String
§description: Option<String>
§description_hash: Option<Sha256>
§min_final_cltv_expiry: u32
§payment_secret: Option<Sha256>
§features: Option<String>
§payment_metadata: Option<String>
§fallbacks: Option<Vec<DecodepayFallbacks>>
§extra: Option<Vec<DecodepayExtra>>
Trait Implementations§
source§impl Clone for DecodepayResponse
impl Clone for DecodepayResponse
source§fn clone(&self) -> DecodepayResponse
fn clone(&self) -> DecodepayResponse
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 DecodepayResponse
impl Debug for DecodepayResponse
source§impl<'de> Deserialize<'de> for DecodepayResponse
impl<'de> Deserialize<'de> for DecodepayResponse
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 DecodepayResponse
impl Serialize for DecodepayResponse
Auto Trait Implementations§
impl RefUnwindSafe for DecodepayResponse
impl Send for DecodepayResponse
impl Sync for DecodepayResponse
impl Unpin for DecodepayResponse
impl UnwindSafe for DecodepayResponse
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