pub struct InvoiceUpdate {
pub payment_hash: String,
pub status: InvoiceStatus,
pub amount_received_msat: Option<u64>,
pub settled_at: Option<u64>,
}Expand description
Invoice update event
Fields§
§payment_hash: StringPayment hash
status: InvoiceStatusNew status
amount_received_msat: Option<u64>Amount received (if paid)
settled_at: Option<u64>Settlement timestamp
Trait Implementations§
Source§impl Clone for InvoiceUpdate
impl Clone for InvoiceUpdate
Source§fn clone(&self) -> InvoiceUpdate
fn clone(&self) -> InvoiceUpdate
Returns a duplicate 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 InvoiceUpdate
impl Debug for InvoiceUpdate
Source§impl<'de> Deserialize<'de> for InvoiceUpdate
impl<'de> Deserialize<'de> for InvoiceUpdate
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
Auto Trait Implementations§
impl Freeze for InvoiceUpdate
impl RefUnwindSafe for InvoiceUpdate
impl Send for InvoiceUpdate
impl Sync for InvoiceUpdate
impl Unpin for InvoiceUpdate
impl UnwindSafe for InvoiceUpdate
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