pub struct L1ChainId(pub u64);Expand description
ChainId in the Ethereum network.
Tuple Fields§
§0: u64Implementations§
Trait Implementations§
Source§impl AddAssign<u64> for L1ChainId
impl AddAssign<u64> for L1ChainId
Source§fn add_assign(&mut self, other: u64)
fn add_assign(&mut self, other: u64)
Performs the
+= operation. Read moreSource§impl<'de> Deserialize<'de> for L1ChainId
impl<'de> Deserialize<'de> for L1ChainId
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 L1ChainId
impl Ord for L1ChainId
Source§impl PartialOrd for L1ChainId
impl PartialOrd for L1ChainId
Source§impl SubAssign<u64> for L1ChainId
impl SubAssign<u64> for L1ChainId
Source§fn sub_assign(&mut self, other: u64)
fn sub_assign(&mut self, other: u64)
Performs the
-= operation. Read moreimpl Copy for L1ChainId
impl Eq for L1ChainId
impl StructuralPartialEq for L1ChainId
Auto Trait Implementations§
impl Freeze for L1ChainId
impl RefUnwindSafe for L1ChainId
impl Send for L1ChainId
impl Sync for L1ChainId
impl Unpin for L1ChainId
impl UnwindSafe for L1ChainId
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