pub struct FinalizedSendIntentRecord {
pub intent_id: Uuid,
pub quote_id: String,
pub total_spent_sat: u64,
pub outpoint: String,
pub finalized_at: u64,
}Expand description
Tombstone record for a finalized (confirmed) send intent.
Written when a confirmed intent is deleted, preserving the data needed
by check_outgoing_payment to return accurate total_spent.
Fields§
§intent_id: UuidUnique intent identifier
quote_id: StringQuote ID linking to the melt quote
total_spent_sat: u64Total amount spent (payment + fee) in satoshis
outpoint: StringOutput point string (txid:vout)
finalized_at: u64When finalization occurred (unix timestamp seconds)
Trait Implementations§
Source§impl Clone for FinalizedSendIntentRecord
impl Clone for FinalizedSendIntentRecord
Source§fn clone(&self) -> FinalizedSendIntentRecord
fn clone(&self) -> FinalizedSendIntentRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FinalizedSendIntentRecord
impl Debug for FinalizedSendIntentRecord
Source§impl<'de> Deserialize<'de> for FinalizedSendIntentRecord
impl<'de> Deserialize<'de> for FinalizedSendIntentRecord
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 KvRecord for FinalizedSendIntentRecord
impl KvRecord for FinalizedSendIntentRecord
Auto Trait Implementations§
impl Freeze for FinalizedSendIntentRecord
impl RefUnwindSafe for FinalizedSendIntentRecord
impl Send for FinalizedSendIntentRecord
impl Sync for FinalizedSendIntentRecord
impl Unpin for FinalizedSendIntentRecord
impl UnsafeUnpin for FinalizedSendIntentRecord
impl UnwindSafe for FinalizedSendIntentRecord
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