pub struct Superchain {
pub name: String,
pub config: SuperchainConfig,
pub chains: Vec<ChainConfig>,
}
Expand description
A superchain configuration.
Fields§
§name: String
Superchain identifier, without capitalization or display changes.
config: SuperchainConfig
Superchain configuration file contents.
chains: Vec<ChainConfig>
Chain IDs of chains that are part of this superchain.
Trait Implementations§
Source§impl Clone for Superchain
impl Clone for Superchain
Source§fn clone(&self) -> Superchain
fn clone(&self) -> Superchain
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 Superchain
impl Debug for Superchain
Source§impl Default for Superchain
impl Default for Superchain
Source§fn default() -> Superchain
fn default() -> Superchain
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Superchain
impl<'de> Deserialize<'de> for Superchain
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for Superchain
impl PartialEq for Superchain
Source§impl Serialize for Superchain
impl Serialize for Superchain
impl Eq for Superchain
impl StructuralPartialEq for Superchain
Auto Trait Implementations§
impl Freeze for Superchain
impl RefUnwindSafe for Superchain
impl Send for Superchain
impl Sync for Superchain
impl Unpin for Superchain
impl UnwindSafe for Superchain
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