pub struct Chain {
pub name: String,
pub identifier: String,
pub chain_id: u64,
pub rpc: Vec<String>,
pub explorers: Vec<String>,
pub superchain_level: u64,
pub data_availability_type: String,
pub parent: SuperchainParent,
}
Expand description
A Chain Definition.
Fields§
§name: String
The name of the chain.
identifier: String
Chain identifier.
chain_id: u64
Chain ID.
rpc: Vec<String>
List of RPC Endpoints.
explorers: Vec<String>
List of Explorer Endpoints.
superchain_level: u64
The Superchain Level.
data_availability_type: String
The data avilability type.
parent: SuperchainParent
The Superchain Parent.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Chain
impl<'de> Deserialize<'de> for Chain
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
impl Eq for Chain
impl StructuralPartialEq for Chain
Auto Trait Implementations§
impl Freeze for Chain
impl RefUnwindSafe for Chain
impl Send for Chain
impl Sync for Chain
impl Unpin for Chain
impl UnwindSafe for Chain
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