pub enum CardanoDerivationType {
LEDGER = 0,
ICARUS = 1,
ICARUS_TREZOR = 2,
}
Available on crate feature
cardano
only.Variants§
Trait Implementations§
source§impl Clone for CardanoDerivationType
impl Clone for CardanoDerivationType
source§fn clone(&self) -> CardanoDerivationType
fn clone(&self) -> CardanoDerivationType
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 CardanoDerivationType
impl Debug for CardanoDerivationType
source§impl Default for CardanoDerivationType
impl Default for CardanoDerivationType
source§impl Enum for CardanoDerivationType
impl Enum for CardanoDerivationType
source§const NAME: &'static str = "CardanoDerivationType"
const NAME: &'static str = "CardanoDerivationType"
Enum name as specified in
.proto
file. Read moresource§fn from_i32(value: i32) -> Option<CardanoDerivationType>
fn from_i32(value: i32) -> Option<CardanoDerivationType>
Try to create an enum from
i32
value.
Return None
if value is unknown.source§fn from_str(str: &str) -> Option<CardanoDerivationType>
fn from_str(str: &str) -> Option<CardanoDerivationType>
Try to create an enum from
&str
value.
Return None
if str is unknown.source§const VALUES: &'static [CardanoDerivationType] = _
const VALUES: &'static [CardanoDerivationType] = _
All enum values for enum type.
source§impl EnumFull for CardanoDerivationType
impl EnumFull for CardanoDerivationType
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 CardanoDerivationType
impl Hash for CardanoDerivationType
source§impl PartialEq for CardanoDerivationType
impl PartialEq for CardanoDerivationType
source§fn eq(&self, other: &CardanoDerivationType) -> bool
fn eq(&self, other: &CardanoDerivationType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CardanoDerivationType
impl Eq for CardanoDerivationType
impl StructuralPartialEq for CardanoDerivationType
Auto Trait Implementations§
impl Freeze for CardanoDerivationType
impl RefUnwindSafe for CardanoDerivationType
impl Send for CardanoDerivationType
impl Sync for CardanoDerivationType
impl Unpin for CardanoDerivationType
impl UnwindSafe for CardanoDerivationType
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
)