pub struct TotalSupplyReturn(pub U256);Expand description
Container type for all return fields from the totalSupply function with signature totalSupply() and selector [24, 22, 13, 221]
Tuple Fields§
§0: U256Trait Implementations§
Source§impl AbiDecode for TotalSupplyReturn
impl AbiDecode for TotalSupplyReturn
Source§impl AbiEncode for TotalSupplyReturn
impl AbiEncode for TotalSupplyReturn
Source§impl AbiType for TotalSupplyReturn
impl AbiType for TotalSupplyReturn
Source§fn param_type() -> ParamType
fn param_type() -> ParamType
The native ABI type this type represents.
Source§impl Clone for TotalSupplyReturn
impl Clone for TotalSupplyReturn
Source§fn clone(&self) -> TotalSupplyReturn
fn clone(&self) -> TotalSupplyReturn
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 TotalSupplyReturn
impl Debug for TotalSupplyReturn
Source§impl Default for TotalSupplyReturn
impl Default for TotalSupplyReturn
Source§fn default() -> TotalSupplyReturn
fn default() -> TotalSupplyReturn
Returns the “default value” for a type. Read more
Source§impl PartialEq for TotalSupplyReturn
impl PartialEq for TotalSupplyReturn
Source§impl Tokenizable for TotalSupplyReturn
impl Tokenizable for TotalSupplyReturn
Source§fn from_token(token: Token) -> Result<Self, InvalidOutputType>where
Self: Sized,
fn from_token(token: Token) -> Result<Self, InvalidOutputType>where
Self: Sized,
Converts a
Token into expected type.Source§fn into_token(self) -> Token
fn into_token(self) -> Token
Converts a specified type back into token.
impl AbiArrayType for TotalSupplyReturn
impl Eq for TotalSupplyReturn
impl StructuralPartialEq for TotalSupplyReturn
impl TokenizableItem for TotalSupplyReturn
Auto Trait Implementations§
impl Freeze for TotalSupplyReturn
impl RefUnwindSafe for TotalSupplyReturn
impl Send for TotalSupplyReturn
impl Sync for TotalSupplyReturn
impl Unpin for TotalSupplyReturn
impl UnwindSafe for TotalSupplyReturn
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Detokenize for Twhere
T: Tokenizable,
impl<T> Detokenize for Twhere
T: Tokenizable,
Source§fn from_tokens(tokens: Vec<Token>) -> Result<T, InvalidOutputType>
fn from_tokens(tokens: Vec<Token>) -> Result<T, InvalidOutputType>
Creates a new instance from parsed ABI tokens.
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Tokenize for Twhere
T: Tokenizable,
impl<T> Tokenize for Twhere
T: Tokenizable,
Source§fn into_tokens(self) -> Vec<Token>
fn into_tokens(self) -> Vec<Token>
Convert to list of tokens