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§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
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