pub enum EthereumDefinitionType {
NETWORK = 0,
TOKEN = 1,
}
Available on crate feature
ethereum
only.Variants§
Trait Implementations§
source§impl Clone for EthereumDefinitionType
impl Clone for EthereumDefinitionType
source§fn clone(&self) -> EthereumDefinitionType
fn clone(&self) -> EthereumDefinitionType
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 EthereumDefinitionType
impl Debug for EthereumDefinitionType
source§impl Default for EthereumDefinitionType
impl Default for EthereumDefinitionType
source§impl Enum for EthereumDefinitionType
impl Enum for EthereumDefinitionType
source§const NAME: &'static str = "EthereumDefinitionType"
const NAME: &'static str = "EthereumDefinitionType"
Enum name as specified in
.proto
file. Read moresource§fn from_i32(value: i32) -> Option<EthereumDefinitionType>
fn from_i32(value: i32) -> Option<EthereumDefinitionType>
Try to create an enum from
i32
value.
Return None
if value is unknown.source§fn from_str(str: &str) -> Option<EthereumDefinitionType>
fn from_str(str: &str) -> Option<EthereumDefinitionType>
Try to create an enum from
&str
value.
Return None
if str is unknown.source§const VALUES: &'static [EthereumDefinitionType] = _
const VALUES: &'static [EthereumDefinitionType] = _
All enum values for enum type.
source§impl EnumFull for EthereumDefinitionType
impl EnumFull for EthereumDefinitionType
source§fn enum_descriptor() -> EnumDescriptor
fn enum_descriptor() -> EnumDescriptor
Get enum descriptor by type.
source§fn descriptor(&self) -> EnumValueDescriptor
fn descriptor(&self) -> EnumValueDescriptor
Get enum value descriptor.
source§impl Hash for EthereumDefinitionType
impl Hash for EthereumDefinitionType
source§impl PartialEq for EthereumDefinitionType
impl PartialEq for EthereumDefinitionType
source§fn eq(&self, other: &EthereumDefinitionType) -> bool
fn eq(&self, other: &EthereumDefinitionType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for EthereumDefinitionType
impl Eq for EthereumDefinitionType
impl StructuralPartialEq for EthereumDefinitionType
Auto Trait Implementations§
impl Freeze for EthereumDefinitionType
impl RefUnwindSafe for EthereumDefinitionType
impl Send for EthereumDefinitionType
impl Sync for EthereumDefinitionType
impl Unpin for EthereumDefinitionType
impl UnwindSafe for EthereumDefinitionType
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)