Struct odra_modules::erc20::events::Transfer
source · pub struct Transfer {
pub from: Option<Address>,
pub to: Option<Address>,
pub amount: U256,
}Fields§
§from: Option<Address>§to: Option<Address>§amount: U256Trait Implementations§
source§impl BorshDeserialize for Transfer
impl BorshDeserialize for Transfer
source§fn deserialize(buf: &mut &[u8]) -> Result<Self>
fn deserialize(buf: &mut &[u8]) -> Result<Self>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
§fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
source§impl PartialEq<Transfer> for Transfer
impl PartialEq<Transfer> for Transfer
impl Eq for Transfer
impl StructuralEq for Transfer
impl StructuralPartialEq for Transfer
Auto Trait Implementations§
impl RefUnwindSafe for Transfer
impl Send for Transfer
impl Sync for Transfer
impl Unpin for Transfer
impl UnwindSafe for Transfer
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