pub struct IncomingPayment {
pub amount: Amount<CurrencyUnit>,
pub time: u64,
pub payment_id: String,
}Expand description
Mint Payments
Fields§
§amount: Amount<CurrencyUnit>Amount
time: u64Pyament unix time
payment_id: StringPayment id
Implementations§
Source§impl IncomingPayment
impl IncomingPayment
Sourcepub fn new(amount: Amount<CurrencyUnit>, payment_id: String, time: u64) -> Self
pub fn new(amount: Amount<CurrencyUnit>, payment_id: String, time: u64) -> Self
New IncomingPayment
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 Hash for IncomingPayment
impl Hash for IncomingPayment
Source§impl PartialEq for IncomingPayment
impl PartialEq 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 UnsafeUnpin 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