Enum erc_nft_metadata::DisplayType
source · [−]pub enum DisplayType {
Number,
BoostPercentage,
BoostNumber,
Date,
}Expand description
How a numerical attribute should be displayed.
Variants
Number
As a number.
BoostPercentage
As a boost percentage.
BoostNumber
As a boost number.
Date
As a date.
Trait Implementations
sourceimpl Clone for DisplayType
impl Clone for DisplayType
sourcefn clone(&self) -> DisplayType
fn clone(&self) -> DisplayType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for DisplayType
impl Debug for DisplayType
sourceimpl Hash for DisplayType
impl Hash for DisplayType
sourceimpl PartialEq<DisplayType> for DisplayType
impl PartialEq<DisplayType> for DisplayType
impl Copy for DisplayType
impl Eq for DisplayType
impl StructuralEq for DisplayType
impl StructuralPartialEq for DisplayType
Auto Trait Implementations
impl RefUnwindSafe for DisplayType
impl Send for DisplayType
impl Sync for DisplayType
impl Unpin for DisplayType
impl UnwindSafe for DisplayType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more