[][src]Struct algo_rust_sdk::MicroAlgos

pub struct MicroAlgos(pub u64);

MicroAlgos are the base unit of currency in Algorand

Implementations

impl MicroAlgos[src]

pub fn to_algos(self) -> f64[src]

pub fn from_algos(algos: f64) -> MicroAlgos[src]

Trait Implementations

impl Add<MicroAlgos> for MicroAlgos[src]

type Output = Self

The resulting type after applying the + operator.

impl Add<u64> for MicroAlgos[src]

type Output = Self

The resulting type after applying the + operator.

impl Clone for MicroAlgos[src]

impl Copy for MicroAlgos[src]

impl Debug for MicroAlgos[src]

impl Default for MicroAlgos[src]

impl<'de> Deserialize<'de> for MicroAlgos[src]

impl Display for MicroAlgos[src]

impl Eq for MicroAlgos[src]

impl Mul<u64> for MicroAlgos[src]

type Output = Self

The resulting type after applying the * operator.

impl Ord for MicroAlgos[src]

impl PartialEq<MicroAlgos> for MicroAlgos[src]

impl PartialOrd<MicroAlgos> for MicroAlgos[src]

impl Serialize for MicroAlgos[src]

impl StructuralEq for MicroAlgos[src]

impl StructuralPartialEq for MicroAlgos[src]

impl Sub<MicroAlgos> for MicroAlgos[src]

type Output = Self

The resulting type after applying the - operator.

impl Sub<u64> for MicroAlgos[src]

type Output = Self

The resulting type after applying the - operator.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,