pub struct Chain {
pub name: &'static str,
pub chain_type: ChainType,
pub chain_id: &'static str,
}Expand description
A specific chain (e.g. “ethereum”, “arbitrum”) with its family type and CAIP-2 ID.
Fields§
§name: &'static str§chain_type: ChainType§chain_id: &'static strTrait Implementations§
impl Copy for Chain
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 UnsafeUnpin 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