pub struct L2ChainId(/* private fields */);Expand description
ChainId in the ZKsync network.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for L2ChainId
impl<'de> Deserialize<'de> for L2ChainId
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 Ord for L2ChainId
impl Ord for L2ChainId
Source§impl PartialOrd for L2ChainId
impl PartialOrd for L2ChainId
impl Copy for L2ChainId
impl Eq for L2ChainId
impl StructuralPartialEq for L2ChainId
Auto Trait Implementations§
impl Freeze for L2ChainId
impl RefUnwindSafe for L2ChainId
impl Send for L2ChainId
impl Sync for L2ChainId
impl Unpin for L2ChainId
impl UnwindSafe for L2ChainId
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