Struct odra_modules::erc1155::events::TransferSingle
source · pub struct TransferSingle {
pub operator: Option<Address>,
pub from: Option<Address>,
pub to: Option<Address>,
pub id: U256,
pub value: U256,
}Expand description
Emitted when a single Erc1155 transfer is performed.
Fields§
§operator: Option<Address>§from: Option<Address>§to: Option<Address>§id: U256§value: U256Trait Implementations§
source§impl BorshDeserialize for TransferSingle
impl BorshDeserialize for TransferSingle
source§impl BorshSerialize for TransferSingle
impl BorshSerialize for TransferSingle
source§impl Clone for TransferSingle
impl Clone for TransferSingle
source§fn clone(&self) -> TransferSingle
fn clone(&self) -> TransferSingle
Returns a copy 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 TransferSingle
impl Debug for TransferSingle
source§impl OdraEvent for TransferSingle
impl OdraEvent for TransferSingle
source§impl PartialEq for TransferSingle
impl PartialEq for TransferSingle
source§fn eq(&self, other: &TransferSingle) -> bool
fn eq(&self, other: &TransferSingle) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for TransferSingle
impl StructuralPartialEq for TransferSingle
Auto Trait Implementations§
impl Freeze for TransferSingle
impl RefUnwindSafe for TransferSingle
impl Send for TransferSingle
impl Sync for TransferSingle
impl Unpin for TransferSingle
impl UnwindSafe for TransferSingle
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