pub struct NotificationMetadata {
pub expected_sats: Option<u64>,
pub received_sats: Option<u64>,
pub difference_sats: Option<i64>,
pub address: Option<String>,
pub original_txid: Option<String>,
pub replacement_txid: Option<String>,
pub fee_increase_sats: Option<u64>,
pub suggested_action: Option<String>,
pub refund_address: Option<String>,
}Expand description
Additional notification metadata
Fields§
§expected_sats: Option<u64>Expected amount in satoshis
received_sats: Option<u64>Received amount in satoshis
difference_sats: Option<i64>Difference in satoshis
address: Option<String>Payment address
original_txid: Option<String>Original transaction ID (for RBF)
replacement_txid: Option<String>Replacement transaction ID (for RBF)
fee_increase_sats: Option<u64>Fee increase in satoshis (for RBF)
suggested_action: Option<String>Suggested action
refund_address: Option<String>Refund address (if available)
Trait Implementations§
Source§impl Clone for NotificationMetadata
impl Clone for NotificationMetadata
Source§fn clone(&self) -> NotificationMetadata
fn clone(&self) -> NotificationMetadata
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 NotificationMetadata
impl Debug for NotificationMetadata
Source§impl Default for NotificationMetadata
impl Default for NotificationMetadata
Source§fn default() -> NotificationMetadata
fn default() -> NotificationMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NotificationMetadata
impl<'de> Deserialize<'de> for NotificationMetadata
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 NotificationMetadata
impl RefUnwindSafe for NotificationMetadata
impl Send for NotificationMetadata
impl Sync for NotificationMetadata
impl Unpin for NotificationMetadata
impl UnwindSafe for NotificationMetadata
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