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