pub struct TransferFromCall {
pub from: Address,
pub to: Address,
pub value: U256,
}Expand description
Container type for all input parameters for the transferFrom function with signature transferFrom(address,address,uint256) and selector [35, 184, 114, 221]
Fields§
§from: Address§to: Address§value: U256Trait Implementations§
impl AbiArrayType for TransferFromCall
Source§impl AbiDecode for TransferFromCall
impl AbiDecode for TransferFromCall
Source§impl AbiEncode for TransferFromCall
impl AbiEncode for TransferFromCall
Source§impl AbiType for TransferFromCall
impl AbiType for TransferFromCall
Source§fn param_type() -> ParamType
fn param_type() -> ParamType
The native ABI type this type represents.
Source§impl Clone for TransferFromCall
impl Clone for TransferFromCall
Source§fn clone(&self) -> TransferFromCall
fn clone(&self) -> TransferFromCall
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TransferFromCall
impl Debug for TransferFromCall
Source§impl Default for TransferFromCall
impl Default for TransferFromCall
Source§fn default() -> TransferFromCall
fn default() -> TransferFromCall
Returns the “default value” for a type. Read more
Source§impl Display for TransferFromCall
impl Display for TransferFromCall
impl Eq for TransferFromCall
Source§impl EthCall for TransferFromCall
impl EthCall for TransferFromCall
Source§impl From<TransferFromCall> for ERC20Calls
impl From<TransferFromCall> for ERC20Calls
Source§fn from(var: TransferFromCall) -> Self
fn from(var: TransferFromCall) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TransferFromCall
impl PartialEq for TransferFromCall
impl StructuralPartialEq for TransferFromCall
Source§impl Tokenizable for TransferFromCall
impl Tokenizable for TransferFromCall
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 TokenizableItem for TransferFromCall
Auto Trait Implementations§
impl Freeze for TransferFromCall
impl RefUnwindSafe for TransferFromCall
impl Send for TransferFromCall
impl Sync for TransferFromCall
impl Unpin for TransferFromCall
impl UnsafeUnpin for TransferFromCall
impl UnwindSafe for TransferFromCall
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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 moreimpl<T> JsonSchemaMaybe for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§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