pub struct TransferFromReturn {
pub success: bool,
}Expand description
Container type for all return fields from the transferFrom function with signature transferFrom(address,address,uint256) and selector [35, 184, 114, 221]
Fields§
§success: boolTrait Implementations§
impl AbiArrayType for TransferFromReturn
Source§impl AbiDecode for TransferFromReturn
impl AbiDecode for TransferFromReturn
Source§impl AbiEncode for TransferFromReturn
impl AbiEncode for TransferFromReturn
Source§impl AbiType for TransferFromReturn
impl AbiType for TransferFromReturn
Source§fn param_type() -> ParamType
fn param_type() -> ParamType
The native ABI type this type represents.
Source§impl Clone for TransferFromReturn
impl Clone for TransferFromReturn
Source§fn clone(&self) -> TransferFromReturn
fn clone(&self) -> TransferFromReturn
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 TransferFromReturn
impl Debug for TransferFromReturn
Source§impl Default for TransferFromReturn
impl Default for TransferFromReturn
Source§fn default() -> TransferFromReturn
fn default() -> TransferFromReturn
Returns the “default value” for a type. Read more
impl Eq for TransferFromReturn
Source§impl PartialEq for TransferFromReturn
impl PartialEq for TransferFromReturn
impl StructuralPartialEq for TransferFromReturn
Source§impl Tokenizable for TransferFromReturn
impl Tokenizable for TransferFromReturn
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 TransferFromReturn
Auto Trait Implementations§
impl Freeze for TransferFromReturn
impl RefUnwindSafe for TransferFromReturn
impl Send for TransferFromReturn
impl Sync for TransferFromReturn
impl Unpin for TransferFromReturn
impl UnsafeUnpin for TransferFromReturn
impl UnwindSafe for TransferFromReturn
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