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