pub struct BlockAndAggregateReturn {
pub block_number: U256,
pub block_hash: [u8; 32],
pub return_data: Vec<Result>,
}Available on crate feature
abigen only.Expand description
Container type for all return fields from the blockAndAggregate function with signature blockAndAggregate((address,bytes)[]) and selector 0xc3077fa9
Fields§
§block_number: U256§block_hash: [u8; 32]§return_data: Vec<Result>Trait Implementations§
source§impl AbiDecode for BlockAndAggregateReturn
impl AbiDecode for BlockAndAggregateReturn
source§impl AbiEncode for BlockAndAggregateReturn
impl AbiEncode for BlockAndAggregateReturn
source§impl AbiType for BlockAndAggregateReturn
impl AbiType for BlockAndAggregateReturn
source§fn param_type() -> ParamType
fn param_type() -> ParamType
The native ABI type this type represents.
source§impl Clone for BlockAndAggregateReturn
impl Clone for BlockAndAggregateReturn
source§fn clone(&self) -> BlockAndAggregateReturn
fn clone(&self) -> BlockAndAggregateReturn
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 BlockAndAggregateReturn
impl Debug for BlockAndAggregateReturn
source§impl Default for BlockAndAggregateReturn
impl Default for BlockAndAggregateReturn
source§fn default() -> BlockAndAggregateReturn
fn default() -> BlockAndAggregateReturn
Returns the “default value” for a type. Read more
source§impl Hash for BlockAndAggregateReturn
impl Hash for BlockAndAggregateReturn
source§impl PartialEq<BlockAndAggregateReturn> for BlockAndAggregateReturn
impl PartialEq<BlockAndAggregateReturn> for BlockAndAggregateReturn
source§fn eq(&self, other: &BlockAndAggregateReturn) -> bool
fn eq(&self, other: &BlockAndAggregateReturn) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Tokenizable for BlockAndAggregateReturnwhere
U256: Tokenize,
[u8; 32]: Tokenize,
Vec<Result>: Tokenize,
impl Tokenizable for BlockAndAggregateReturnwhere U256: Tokenize, [u8; 32]: Tokenize, Vec<Result>: Tokenize,
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 BlockAndAggregateReturn
impl Eq for BlockAndAggregateReturn
impl StructuralEq for BlockAndAggregateReturn
impl StructuralPartialEq for BlockAndAggregateReturn
impl TokenizableItem for BlockAndAggregateReturnwhere U256: Tokenize, [u8; 32]: Tokenize, Vec<Result>: Tokenize,
Auto Trait Implementations§
impl RefUnwindSafe for BlockAndAggregateReturn
impl Send for BlockAndAggregateReturn
impl Sync for BlockAndAggregateReturn
impl Unpin for BlockAndAggregateReturn
impl UnwindSafe for BlockAndAggregateReturn
Blanket Implementations§
source§impl<T> Detokenize for Twhere
T: Tokenizable,
impl<T> Detokenize for Twhere T: Tokenizable,
source§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.