pub struct GetCurrentBlockCoinbaseReturn {
pub coinbase: Address,
}
Available on crate feature
abigen
only.Expand description
Container type for all return fields from the getCurrentBlockCoinbase
function with signature getCurrentBlockCoinbase()
and selector 0xa8b0574e
Fields§
§coinbase: Address
Trait Implementations§
source§impl AbiType for GetCurrentBlockCoinbaseReturn
impl AbiType for GetCurrentBlockCoinbaseReturn
source§fn param_type() -> ParamType
fn param_type() -> ParamType
The native ABI type this type represents.
source§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 GetCurrentBlockCoinbaseReturn
impl Clone for GetCurrentBlockCoinbaseReturn
source§fn clone(&self) -> GetCurrentBlockCoinbaseReturn
fn clone(&self) -> GetCurrentBlockCoinbaseReturn
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 Default for GetCurrentBlockCoinbaseReturn
impl Default for GetCurrentBlockCoinbaseReturn
source§fn default() -> GetCurrentBlockCoinbaseReturn
fn default() -> GetCurrentBlockCoinbaseReturn
Returns the “default value” for a type. Read more
source§impl Hash for GetCurrentBlockCoinbaseReturn
impl Hash for GetCurrentBlockCoinbaseReturn
source§impl PartialEq for GetCurrentBlockCoinbaseReturn
impl PartialEq for GetCurrentBlockCoinbaseReturn
source§fn eq(&self, other: &GetCurrentBlockCoinbaseReturn) -> bool
fn eq(&self, other: &GetCurrentBlockCoinbaseReturn) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Tokenizable for GetCurrentBlockCoinbaseReturn
impl Tokenizable for GetCurrentBlockCoinbaseReturn
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 GetCurrentBlockCoinbaseReturn
impl Eq for GetCurrentBlockCoinbaseReturn
impl StructuralPartialEq for GetCurrentBlockCoinbaseReturn
impl TokenizableItem for GetCurrentBlockCoinbaseReturn
Auto Trait Implementations§
impl RefUnwindSafe for GetCurrentBlockCoinbaseReturn
impl Send for GetCurrentBlockCoinbaseReturn
impl Sync for GetCurrentBlockCoinbaseReturn
impl Unpin for GetCurrentBlockCoinbaseReturn
impl UnwindSafe for GetCurrentBlockCoinbaseReturn
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> 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> 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>
Converts
self
into a Vec<Token>
.