Struct cln_rpc::model::responses::KeysendResponse
source · pub struct KeysendResponse {
pub destination: Option<PublicKey>,
pub warning_partial_completion: Option<String>,
pub status: KeysendStatus,
pub amount_msat: Amount,
pub amount_sent_msat: Amount,
pub created_at: f64,
pub parts: u32,
pub payment_hash: Sha256,
pub payment_preimage: Secret,
}
Fields§
§destination: Option<PublicKey>
§warning_partial_completion: Option<String>
§status: KeysendStatus
§amount_msat: Amount
§amount_sent_msat: Amount
§created_at: f64
§parts: u32
§payment_hash: Sha256
§payment_preimage: Secret
Trait Implementations§
source§impl Clone for KeysendResponse
impl Clone for KeysendResponse
source§fn clone(&self) -> KeysendResponse
fn clone(&self) -> KeysendResponse
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 KeysendResponse
impl Debug for KeysendResponse
source§impl<'de> Deserialize<'de> for KeysendResponse
impl<'de> Deserialize<'de> for KeysendResponse
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 KeysendResponse
impl Serialize for KeysendResponse
Auto Trait Implementations§
impl Freeze for KeysendResponse
impl RefUnwindSafe for KeysendResponse
impl Send for KeysendResponse
impl Sync for KeysendResponse
impl Unpin for KeysendResponse
impl UnwindSafe for KeysendResponse
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