pub struct PaymentAttribute {
pub amount: Coin,
pub receiver: String,
}Expand description
An attribute struct used for any events that involve a payment
Fields§
§amount: CoinThe amount paid
receiver: StringThe address the payment was made to
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PaymentAttribute
impl RefUnwindSafe for PaymentAttribute
impl Send for PaymentAttribute
impl Sync for PaymentAttribute
impl Unpin for PaymentAttribute
impl UnsafeUnpin for PaymentAttribute
impl UnwindSafe for PaymentAttribute
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