Struct switchboard_evm::bindings::switchboard::switchboard::SetAdminCall
source · pub struct SetAdminCall {
pub sender: Address,
pub status: bool,
}Expand description
Container type for all input parameters for the setAdmin function with signature setAdmin(address,bool) and selector 0x4b0bddd2
Fields§
§sender: Address§status: boolTrait Implementations§
source§impl AbiDecode for SetAdminCall
impl AbiDecode for SetAdminCall
source§impl AbiEncode for SetAdminCall
impl AbiEncode for SetAdminCall
source§impl AbiType for SetAdminCall
impl AbiType for SetAdminCall
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 SetAdminCall
impl Clone for SetAdminCall
source§fn clone(&self) -> SetAdminCall
fn clone(&self) -> SetAdminCall
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 SetAdminCall
impl Debug for SetAdminCall
source§impl Default for SetAdminCall
impl Default for SetAdminCall
source§fn default() -> SetAdminCall
fn default() -> SetAdminCall
Returns the “default value” for a type. Read more
source§impl Display for SetAdminCall
impl Display for SetAdminCall
source§impl EthCall for SetAdminCall
impl EthCall for SetAdminCall
source§impl From<SetAdminCall> for SwitchboardCalls
impl From<SetAdminCall> for SwitchboardCalls
source§fn from(value: SetAdminCall) -> Self
fn from(value: SetAdminCall) -> Self
Converts to this type from the input type.
source§impl Hash for SetAdminCall
impl Hash for SetAdminCall
source§impl PartialEq<SetAdminCall> for SetAdminCall
impl PartialEq<SetAdminCall> for SetAdminCall
source§fn eq(&self, other: &SetAdminCall) -> bool
fn eq(&self, other: &SetAdminCall) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Tokenizable for SetAdminCallwhere
Address: Tokenize,
bool: Tokenize,
impl Tokenizable for SetAdminCallwhere Address: Tokenize, bool: 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 SetAdminCall
impl Eq for SetAdminCall
impl StructuralEq for SetAdminCall
impl StructuralPartialEq for SetAdminCall
impl TokenizableItem for SetAdminCallwhere Address: Tokenize, bool: Tokenize,
Auto Trait Implementations§
impl RefUnwindSafe for SetAdminCall
impl Send for SetAdminCall
impl Sync for SetAdminCall
impl Unpin for SetAdminCall
impl UnwindSafe for SetAdminCall
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<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<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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§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,
§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>
§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>.