pub struct MicroAlgos(pub u64);
Expand description
MicroAlgos are the base unit of currency in Algorand
Tuple Fields§
§0: u64
Trait Implementations§
Source§impl Add<u64> for MicroAlgos
impl Add<u64> for MicroAlgos
Source§impl Add for MicroAlgos
impl Add for MicroAlgos
Source§type Output = MicroAlgos
type Output = MicroAlgos
The resulting type after applying the
+
operator.Source§fn add(self, rhs: MicroAlgos) -> MicroAlgos
fn add(self, rhs: MicroAlgos) -> MicroAlgos
Performs the
+
operation. Read moreSource§impl Clone for MicroAlgos
impl Clone for MicroAlgos
Source§fn clone(&self) -> MicroAlgos
fn clone(&self) -> MicroAlgos
Returns a duplicate 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 MicroAlgos
impl Debug for MicroAlgos
Source§impl<'de> Deserialize<'de> for MicroAlgos
impl<'de> Deserialize<'de> for MicroAlgos
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for MicroAlgos
impl Display for MicroAlgos
Source§impl Mul<u64> for MicroAlgos
impl Mul<u64> for MicroAlgos
Source§impl Ord for MicroAlgos
impl Ord for MicroAlgos
Source§fn cmp(&self, other: &MicroAlgos) -> Ordering
fn cmp(&self, other: &MicroAlgos) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MicroAlgos
impl PartialEq for MicroAlgos
Source§impl PartialOrd for MicroAlgos
impl PartialOrd for MicroAlgos
Source§impl Serialize for MicroAlgos
impl Serialize for MicroAlgos
Source§impl Sub<u64> for MicroAlgos
impl Sub<u64> for MicroAlgos
Source§impl Sub for MicroAlgos
impl Sub for MicroAlgos
Source§type Output = MicroAlgos
type Output = MicroAlgos
The resulting type after applying the
-
operator.Source§fn sub(self, rhs: MicroAlgos) -> MicroAlgos
fn sub(self, rhs: MicroAlgos) -> MicroAlgos
Performs the
-
operation. Read moreimpl Copy for MicroAlgos
impl Eq for MicroAlgos
impl StructuralPartialEq for MicroAlgos
Auto Trait Implementations§
impl Freeze for MicroAlgos
impl RefUnwindSafe for MicroAlgos
impl Send for MicroAlgos
impl Sync for MicroAlgos
impl Unpin for MicroAlgos
impl UnwindSafe for MicroAlgos
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.