[−][src]Struct algosdk::MicroAlgos
MicroAlgos are the base unit of currency in Algorand
Methods
impl MicroAlgos
[src]
pub fn to_algos(self) -> f64
[src]
pub fn from_algos(algos: f64) -> MicroAlgos
[src]
Trait Implementations
impl Clone for MicroAlgos
[src]
fn clone(&self) -> MicroAlgos
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for MicroAlgos
[src]
impl Default for MicroAlgos
[src]
fn default() -> MicroAlgos
[src]
impl Eq for MicroAlgos
[src]
impl Ord for MicroAlgos
[src]
fn cmp(&self, other: &MicroAlgos) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<MicroAlgos> for MicroAlgos
[src]
fn eq(&self, other: &MicroAlgos) -> bool
[src]
fn ne(&self, other: &MicroAlgos) -> bool
[src]
impl PartialOrd<MicroAlgos> for MicroAlgos
[src]
fn partial_cmp(&self, other: &MicroAlgos) -> Option<Ordering>
[src]
fn lt(&self, other: &MicroAlgos) -> bool
[src]
fn le(&self, other: &MicroAlgos) -> bool
[src]
fn gt(&self, other: &MicroAlgos) -> bool
[src]
fn ge(&self, other: &MicroAlgos) -> bool
[src]
impl Display for MicroAlgos
[src]
impl Debug for MicroAlgos
[src]
impl Sub<MicroAlgos> for MicroAlgos
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, rhs: Self) -> Self::Output
[src]
impl Sub<u64> for MicroAlgos
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, rhs: u64) -> Self::Output
[src]
impl Add<MicroAlgos> for MicroAlgos
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, rhs: Self) -> Self::Output
[src]
impl Add<u64> for MicroAlgos
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, rhs: u64) -> Self::Output
[src]
impl Mul<u64> for MicroAlgos
[src]
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, rhs: u64) -> Self::Output
[src]
impl Serialize for MicroAlgos
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for MicroAlgos
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for MicroAlgos
impl Sync for MicroAlgos
impl Unpin for MicroAlgos
impl UnwindSafe for MicroAlgos
impl RefUnwindSafe for MicroAlgos
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T> Erased for T
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,