pub struct TransferFilter {
pub from: Address,
pub to: Address,
pub value: U256,
}
Fields§
§from: Address
§to: Address
§value: U256
Trait Implementations§
source§impl AbiType for TransferFilter
impl AbiType for TransferFilter
source§fn param_type() -> ParamType
fn param_type() -> ParamType
The native ABI type this type represents.
§fn minimum_size() -> usize
fn minimum_size() -> usize
A hint of the minimum number of bytes this type takes up in the ABI.
source§impl Clone for TransferFilter
impl Clone for TransferFilter
source§fn clone(&self) -> TransferFilter
fn clone(&self) -> TransferFilter
Returns a copy 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 TransferFilter
impl Debug for TransferFilter
source§impl Default for TransferFilter
impl Default for TransferFilter
source§fn default() -> TransferFilter
fn default() -> TransferFilter
Returns the “default value” for a type. Read more
source§impl Display for TransferFilter
impl Display for TransferFilter
source§impl EthEvent for TransferFilter
impl EthEvent for TransferFilter
source§fn signature() -> H256
fn signature() -> H256
Retrieves the signature for the event this data corresponds to.
This signature is the Keccak-256 hash of the ABI signature of
this event.
source§fn abi_signature() -> Cow<'static, str>
fn abi_signature() -> Cow<'static, str>
Retrieves the ABI signature for the event this data corresponds
to.
source§fn decode_log(log: &RawLog) -> Result<Self, Error>where
Self: Sized,
fn decode_log(log: &RawLog) -> Result<Self, Error>where Self: Sized,
Decodes an Ethereum
RawLog
into an instance of the type.source§fn is_anonymous() -> bool
fn is_anonymous() -> bool
Returns true if this is an anonymous event
source§impl From<TransferFilter> for ERC20Events
impl From<TransferFilter> for ERC20Events
source§fn from(value: TransferFilter) -> Self
fn from(value: TransferFilter) -> Self
Converts to this type from the input type.
source§impl Hash for TransferFilter
impl Hash for TransferFilter
source§impl PartialEq<TransferFilter> for TransferFilter
impl PartialEq<TransferFilter> for TransferFilter
source§fn eq(&self, other: &TransferFilter) -> bool
fn eq(&self, other: &TransferFilter) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Tokenizable for TransferFilterwhere
Address: Tokenize,
U256: Tokenize,
impl Tokenizable for TransferFilterwhere Address: Tokenize, U256: Tokenize,
source§fn from_token(token: Token) -> Result<Self, InvalidOutputType>
fn from_token(token: Token) -> Result<Self, InvalidOutputType>
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 TransferFilter
impl Eq for TransferFilter
impl StructuralEq for TransferFilter
impl StructuralPartialEq for TransferFilter
impl TokenizableItem for TransferFilterwhere Address: Tokenize, U256: Tokenize,
Auto Trait Implementations§
impl RefUnwindSafe for TransferFilter
impl Send for TransferFilter
impl Sync for TransferFilter
impl Unpin for TransferFilter
impl UnwindSafe for TransferFilter
Blanket Implementations§
§impl<T> Detokenize for Twhere
T: Tokenizable,
impl<T> Detokenize for Twhere T: Tokenizable,
§fn from_tokens(tokens: Vec<Token, Global>) -> Result<T, InvalidOutputType>
fn from_tokens(tokens: Vec<Token, Global>) -> Result<T, InvalidOutputType>
Creates a new instance from parsed ABI tokens.
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> EthLogDecode for Twhere
T: EthEvent,
impl<T> EthLogDecode for Twhere T: EthEvent,
§fn decode_log(log: &RawLog) -> Result<T, Error>
fn decode_log(log: &RawLog) -> Result<T, Error>
decode from a
RawLog
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>
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> Tokenize for Twhere
T: Tokenizable,
impl<T> Tokenize for Twhere T: Tokenizable,
§fn into_tokens(self) -> Vec<Token, Global>
fn into_tokens(self) -> Vec<Token, Global>
Converts
self
into a Vec<Token>
.