Struct architect_api::utils::amount::Amount
source · pub struct Amount<T: 'static, U: 'static> { /* private fields */ }Implementations§
Trait Implementations§
source§impl<'de, T, U> Deserialize<'de> for Amount<T, U>where
T: Deserialize<'de> + 'static,
U: Deserialize<'de> + 'static,
impl<'de, T, U> Deserialize<'de> for Amount<T, U>where
T: Deserialize<'de> + 'static,
U: Deserialize<'de> + 'static,
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<T: PartialEq + 'static, U: PartialEq + 'static> PartialEq for Amount<T, U>
impl<T: PartialEq + 'static, U: PartialEq + 'static> PartialEq for Amount<T, U>
source§impl<T: Ord + 'static, U: Eq + 'static> PartialOrd for Amount<T, U>
impl<T: Ord + 'static, U: Eq + 'static> PartialOrd for Amount<T, U>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl<T: Copy + 'static, U: Copy + 'static> Copy for Amount<T, U>
impl<T: Eq + 'static, U: Eq + 'static> Eq for Amount<T, U>
impl<T: 'static, U: 'static> StructuralPartialEq for Amount<T, U>
Auto Trait Implementations§
impl<T, U> Freeze for Amount<T, U>
impl<T, U> RefUnwindSafe for Amount<T, U>where
T: RefUnwindSafe,
U: RefUnwindSafe,
impl<T, U> Send for Amount<T, U>
impl<T, U> Sync for Amount<T, U>
impl<T, U> Unpin for Amount<T, U>
impl<T, U> UnwindSafe for Amount<T, U>where
T: UnwindSafe,
U: UnwindSafe,
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.