#[repr(u32)]pub enum HardhatCode {
HardhatUpstream = 0,
HardhatZksync = 1,
}
Expand description
Auto-generated discriminant enum variants
Variants§
Implementations§
Source§impl HardhatCode
impl HardhatCode
Trait Implementations§
Source§impl Clone for HardhatCode
impl Clone for HardhatCode
Source§fn clone(&self) -> HardhatCode
fn clone(&self) -> HardhatCode
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 HardhatCode
impl Debug for HardhatCode
Source§impl<'de> Deserialize<'de> for HardhatCode
impl<'de> Deserialize<'de> for HardhatCode
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<'_enum> From<&'_enum Hardhat> for HardhatCode
impl<'_enum> From<&'_enum Hardhat> for HardhatCode
Source§fn from(val: &'_enum Hardhat) -> HardhatCode
fn from(val: &'_enum Hardhat) -> HardhatCode
Converts to this type from the input type.
Source§impl From<Hardhat> for HardhatCode
impl From<Hardhat> for HardhatCode
Source§fn from(val: Hardhat) -> HardhatCode
fn from(val: Hardhat) -> HardhatCode
Converts to this type from the input type.
Source§impl PartialEq for HardhatCode
impl PartialEq for HardhatCode
Source§impl Serialize for HardhatCode
impl Serialize for HardhatCode
impl Copy for HardhatCode
impl Eq for HardhatCode
impl StructuralPartialEq for HardhatCode
Auto Trait Implementations§
impl Freeze for HardhatCode
impl RefUnwindSafe for HardhatCode
impl Send for HardhatCode
impl Sync for HardhatCode
impl Unpin for HardhatCode
impl UnwindSafe for HardhatCode
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