Enum trezor_client::protos::BackupType
source · pub enum BackupType {
Bip39 = 0,
Slip39_Basic = 1,
Slip39_Advanced = 2,
}
Variants§
Trait Implementations§
source§impl Clone for BackupType
impl Clone for BackupType
source§fn clone(&self) -> BackupType
fn clone(&self) -> BackupType
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 BackupType
impl Debug for BackupType
source§impl Default for BackupType
impl Default for BackupType
source§impl Enum for BackupType
impl Enum for BackupType
source§fn from_i32(value: i32) -> Option<BackupType>
fn from_i32(value: i32) -> Option<BackupType>
Try to create an enum from
i32
value.
Return None
if value is unknown.source§fn from_str(str: &str) -> Option<BackupType>
fn from_str(str: &str) -> Option<BackupType>
Try to create an enum from
&str
value.
Return None
if str is unknown.source§const VALUES: &'static [BackupType] = _
const VALUES: &'static [BackupType] = _
All enum values for enum type.
source§impl EnumFull for BackupType
impl EnumFull for BackupType
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 BackupType
impl Hash for BackupType
source§impl PartialEq for BackupType
impl PartialEq for BackupType
source§fn eq(&self, other: &BackupType) -> bool
fn eq(&self, other: &BackupType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BackupType
impl Eq for BackupType
impl StructuralPartialEq for BackupType
Auto Trait Implementations§
impl RefUnwindSafe for BackupType
impl Send for BackupType
impl Sync for BackupType
impl Unpin for BackupType
impl UnwindSafe for BackupType
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