Enum iota_lib_rs::utils::IotaUnits[][src]

pub enum IotaUnits {
    Iota,
    KiloIota,
    MegaIota,
    GigaIota,
    TeraIota,
    PetaIota,
}

Provides an enum representing all units of IOTA

Variants

Base unit of IOTA

1,000 Iota

1,000,000 Iota

1,000,000,000 Iota

1,000,000,000,000 Iota

1,000,000,000,000,000 Iota

Methods

impl IotaUnits
[src]

Provides the unit string associated with this unit

Provides the number of significant digits associated with this unit

Trait Implementations

impl PartialEq for IotaUnits
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for IotaUnits
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for IotaUnits
[src]

impl Debug for IotaUnits
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for IotaUnits

impl Sync for IotaUnits