pub struct ChainGroupConfig {
pub name: String,
pub group: ChainGroup,
pub networks: Vec<String>,
pub has_network_arg: bool,
}Expand description
Describes one top-level chain wrapper type (e.g. EVM, Solana, Trading).
Fields§
§name: StringWrapper type name in the schema, e.g. “EVM”, “Solana”, “Trading”.
group: ChainGroupWhich ChainGroup enum value this config represents.
networks: Vec<String>Available networks. EVM: [“eth”,“bsc”]; Solana: [“sol”]; Trading: all chains.
has_network_arg: boolIf true the wrapper type takes a network argument (EVM style).
If false the chain is implicit (Solana style) or cross-chain (Trading).
Trait Implementations§
Source§impl Clone for ChainGroupConfig
impl Clone for ChainGroupConfig
Source§fn clone(&self) -> ChainGroupConfig
fn clone(&self) -> ChainGroupConfig
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ChainGroupConfig
impl RefUnwindSafe for ChainGroupConfig
impl Send for ChainGroupConfig
impl Sync for ChainGroupConfig
impl Unpin for ChainGroupConfig
impl UnsafeUnpin for ChainGroupConfig
impl UnwindSafe for ChainGroupConfig
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