Enum monero::util::amount::Denomination
source · pub enum Denomination {
Monero,
Millinero,
Micronero,
Nanonero,
Piconero,
}
Expand description
A set of denominations in which amounts can be expressed.
Variants§
Trait Implementations§
source§impl Clone for Denomination
impl Clone for Denomination
source§fn clone(&self) -> Denomination
fn clone(&self) -> Denomination
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 Denomination
impl Debug for Denomination
source§impl Display for Denomination
impl Display for Denomination
source§impl FromStr for Denomination
impl FromStr for Denomination
source§impl Hash for Denomination
impl Hash for Denomination
source§impl PartialEq<Denomination> for Denomination
impl PartialEq<Denomination> for Denomination
source§fn eq(&self, other: &Denomination) -> bool
fn eq(&self, other: &Denomination) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.