Struct cw1155::TransferEvent
source · [−]pub struct TransferEvent<'a> {
pub from: Option<&'a str>,
pub to: Option<&'a str>,
pub token_id: &'a str,
pub amount: Uint128,
}
Expand description
Tracks token transfer/mint/burn actions
Fields
from: Option<&'a str>
to: Option<&'a str>
token_id: &'a str
amount: Uint128
Trait Implementations
sourceimpl<'a> Event for TransferEvent<'a>
impl<'a> Event for TransferEvent<'a>
sourcefn add_attributes(&self, rsp: &mut Response)
fn add_attributes(&self, rsp: &mut Response)
Append attributes to response
Auto Trait Implementations
impl<'a> RefUnwindSafe for TransferEvent<'a>
impl<'a> Send for TransferEvent<'a>
impl<'a> Sync for TransferEvent<'a>
impl<'a> Unpin for TransferEvent<'a>
impl<'a> UnwindSafe for TransferEvent<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more