Enum rgb20::SupplyMeasure
source · [−]#[repr(u8)]
pub enum SupplyMeasure {
KnownCirculating,
TotalCirculating,
IssueLimit,
}
Expand description
Specific supply measure to be provided; used as an argument for methods returning supply information
Variants
KnownCirculating
Supply known to be issued, minus all known burns, plus known replacements
TotalCirculating
Forces method to return precise supply data, either equal to the
known circulating supply, or if some of the supply-related operations
are unknown, [FractionalSupply:NAN
] value
IssueLimit
Maximum issue limit, defined as a sum of all genesis-defined inflation allowed amounts, plus amount of assets issued in genesis
Trait Implementations
sourceimpl Clone for SupplyMeasure
impl Clone for SupplyMeasure
sourcefn clone(&self) -> SupplyMeasure
fn clone(&self) -> SupplyMeasure
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 SupplyMeasure
impl Debug for SupplyMeasure
sourceimpl Display for SupplyMeasure
impl Display for SupplyMeasure
sourceimpl Hash for SupplyMeasure
impl Hash for SupplyMeasure
sourceimpl Ord for SupplyMeasure
impl Ord for SupplyMeasure
sourceimpl PartialEq<SupplyMeasure> for SupplyMeasure
impl PartialEq<SupplyMeasure> for SupplyMeasure
sourceimpl PartialOrd<SupplyMeasure> for SupplyMeasure
impl PartialOrd<SupplyMeasure> for SupplyMeasure
sourcefn partial_cmp(&self, other: &SupplyMeasure) -> Option<Ordering>
fn partial_cmp(&self, other: &SupplyMeasure) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for SupplyMeasure
impl Eq for SupplyMeasure
impl StructuralEq for SupplyMeasure
impl StructuralPartialEq for SupplyMeasure
Auto Trait Implementations
impl RefUnwindSafe for SupplyMeasure
impl Send for SupplyMeasure
impl Sync for SupplyMeasure
impl Unpin for SupplyMeasure
impl UnwindSafe for SupplyMeasure
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
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.