pub struct TokenQuantity(pub [u8; 32]);Expand description
Represent a ERC20 token quantity The inner byte array is Big Endian
Tuple Fields§
§0: [u8; 32]Trait Implementations§
Source§impl Clone for TokenQuantity
impl Clone for TokenQuantity
Source§fn clone(&self) -> TokenQuantity
fn clone(&self) -> TokenQuantity
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 TokenQuantity
impl Debug for TokenQuantity
Source§impl FitIntoPlaceholderSlice for TokenQuantity
impl FitIntoPlaceholderSlice for TokenQuantity
fn fit_into_placeholder_slice(self, buf: &mut [u8])
impl Copy for TokenQuantity
Auto Trait Implementations§
impl Freeze for TokenQuantity
impl RefUnwindSafe for TokenQuantity
impl Send for TokenQuantity
impl Sync for TokenQuantity
impl Unpin for TokenQuantity
impl UnsafeUnpin for TokenQuantity
impl UnwindSafe for TokenQuantity
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