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