pub struct PostTransactionData {
pub utxo: String,
pub amount: CurrencyAmount,
}Expand description
This object represents post-transaction data that could be used to register payment for KYT.
Fields§
§utxo: StringThe utxo of the channel over which the payment went through in the format of <transaction_hash>:<output_index>.
amount: CurrencyAmountThe amount of funds transferred in the payment.
Trait Implementations§
Source§impl Clone for PostTransactionData
impl Clone for PostTransactionData
Source§fn clone(&self) -> PostTransactionData
fn clone(&self) -> PostTransactionData
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 PostTransactionData
impl Debug for PostTransactionData
Source§impl<'de> Deserialize<'de> for PostTransactionData
impl<'de> Deserialize<'de> for PostTransactionData
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 PostTransactionData
impl RefUnwindSafe for PostTransactionData
impl Send for PostTransactionData
impl Sync for PostTransactionData
impl Unpin for PostTransactionData
impl UnwindSafe for PostTransactionData
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