Struct switchboard_evm::bindings::switchboard::switchboard::SbFunction
source · pub struct SbFunction {
pub name: String,
pub authority: Address,
pub enclave_id: Address,
pub queue_id: Address,
pub balance: U256,
pub status: u8,
pub config: FunctionConfig,
pub state: FunctionState,
}Expand description
SbFunction(string,address,address,address,uint256,uint8,(string,address[],string,string,string,string),(uint256,uint256,uint256,uint256,uint256,uint256,uint256,bool))
Fields§
§name: String§enclave_id: Address§queue_id: Address§balance: U256§status: u8§config: FunctionConfig§state: FunctionStateTrait Implementations§
source§impl AbiDecode for SbFunction
impl AbiDecode for SbFunction
source§impl AbiEncode for SbFunction
impl AbiEncode for SbFunction
source§impl AbiType for SbFunction
impl AbiType for SbFunction
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 SbFunction
impl Clone for SbFunction
source§fn clone(&self) -> SbFunction
fn clone(&self) -> SbFunction
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 SbFunction
impl Debug for SbFunction
source§impl Default for SbFunction
impl Default for SbFunction
source§fn default() -> SbFunction
fn default() -> SbFunction
Returns the “default value” for a type. Read more
source§impl Hash for SbFunction
impl Hash for SbFunction
source§impl PartialEq<SbFunction> for SbFunction
impl PartialEq<SbFunction> for SbFunction
source§fn eq(&self, other: &SbFunction) -> bool
fn eq(&self, other: &SbFunction) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Tokenizable for SbFunctionwhere
String: Tokenize,
Address: Tokenize,
U256: Tokenize,
u8: Tokenize,
FunctionConfig: Tokenize,
FunctionState: Tokenize,
impl Tokenizable for SbFunctionwhere String: Tokenize, Address: Tokenize, U256: Tokenize, u8: Tokenize, FunctionConfig: Tokenize, FunctionState: 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 SbFunction
impl Eq for SbFunction
impl StructuralEq for SbFunction
impl StructuralPartialEq for SbFunction
impl TokenizableItem for SbFunctionwhere String: Tokenize, Address: Tokenize, U256: Tokenize, u8: Tokenize, FunctionConfig: Tokenize, FunctionState: Tokenize,
Auto Trait Implementations§
impl RefUnwindSafe for SbFunction
impl Send for SbFunction
impl Sync for SbFunction
impl Unpin for SbFunction
impl UnwindSafe for SbFunction
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>.