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