pub struct IncomingPayment {
pub amount: Amount,
pub time: u64,
pub payment_id: String,
}
Expand description
Mint Payments
Fields§
§amount: Amount
Amount
time: u64
Pyament unix time
payment_id: String
Payment id
Implementations§
Trait Implementations§
Source§impl Clone for IncomingPayment
impl Clone for IncomingPayment
Source§fn clone(&self) -> IncomingPayment
fn clone(&self) -> IncomingPayment
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 IncomingPayment
impl Debug for IncomingPayment
Source§impl<'de> Deserialize<'de> for IncomingPayment
impl<'de> Deserialize<'de> for IncomingPayment
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 Hash for IncomingPayment
impl Hash for IncomingPayment
Source§impl PartialEq for IncomingPayment
impl PartialEq for IncomingPayment
Source§impl Serialize for IncomingPayment
impl Serialize for IncomingPayment
impl Eq for IncomingPayment
impl StructuralPartialEq for IncomingPayment
Auto Trait Implementations§
impl Freeze for IncomingPayment
impl RefUnwindSafe for IncomingPayment
impl Send for IncomingPayment
impl Sync for IncomingPayment
impl Unpin for IncomingPayment
impl UnwindSafe for IncomingPayment
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