Struct phoenix::quantities::QuoteAtomsPerQuoteLot
source · #[repr(transparent)]pub struct QuoteAtomsPerQuoteLot { /* private fields */ }Implementations§
source§impl QuoteAtomsPerQuoteLot
impl QuoteAtomsPerQuoteLot
pub const ZERO: Self = _
pub const ONE: Self = _
pub const MAX: Self = _
pub const MIN: Self = _
pub fn as_u128(&self) -> u128
pub fn saturating_sub(self, other: Self) -> Self
pub fn unchecked_div<Divisor: WrapperU64, Quotient: WrapperU64>( self, other: Divisor ) -> Quotient
Trait Implementations§
source§impl AddAssign<QuoteAtomsPerQuoteLot> for QuoteAtomsPerQuoteLot
impl AddAssign<QuoteAtomsPerQuoteLot> for QuoteAtomsPerQuoteLot
source§fn add_assign(&mut self, other: Self)
fn add_assign(&mut self, other: Self)
Performs the
+= operation. Read moresource§impl Clone for QuoteAtomsPerQuoteLot
impl Clone for QuoteAtomsPerQuoteLot
source§fn clone(&self) -> QuoteAtomsPerQuoteLot
fn clone(&self) -> QuoteAtomsPerQuoteLot
Returns a copy 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 QuoteAtomsPerQuoteLot
impl Debug for QuoteAtomsPerQuoteLot
source§impl Default for QuoteAtomsPerQuoteLot
impl Default for QuoteAtomsPerQuoteLot
source§impl Display for QuoteAtomsPerQuoteLot
impl Display for QuoteAtomsPerQuoteLot
source§impl Div<QuoteAtomsPerQuoteLot> for QuoteAtoms
impl Div<QuoteAtomsPerQuoteLot> for QuoteAtoms
source§impl Div<QuoteAtomsPerQuoteLot> for QuoteAtomsPerBaseUnitPerTick
impl Div<QuoteAtomsPerQuoteLot> for QuoteAtomsPerBaseUnitPerTick
§type Output = QuoteLotsPerBaseUnitPerTick
type Output = QuoteLotsPerBaseUnitPerTick
The resulting type after applying the
/ operator.source§fn div(self, other: QuoteAtomsPerQuoteLot) -> QuoteLotsPerBaseUnitPerTick
fn div(self, other: QuoteAtomsPerQuoteLot) -> QuoteLotsPerBaseUnitPerTick
Performs the
/ operation. Read moresource§impl Div<QuoteAtomsPerQuoteLot> for QuoteAtomsPerQuoteUnit
impl Div<QuoteAtomsPerQuoteLot> for QuoteAtomsPerQuoteUnit
§type Output = QuoteLotsPerQuoteUnit
type Output = QuoteLotsPerQuoteUnit
The resulting type after applying the
/ operator.source§fn div(self, other: QuoteAtomsPerQuoteLot) -> QuoteLotsPerQuoteUnit
fn div(self, other: QuoteAtomsPerQuoteLot) -> QuoteLotsPerQuoteUnit
Performs the
/ operation. Read moresource§impl From<QuoteAtomsPerQuoteLot> for f64
impl From<QuoteAtomsPerQuoteLot> for f64
source§fn from(x: QuoteAtomsPerQuoteLot) -> f64
fn from(x: QuoteAtomsPerQuoteLot) -> f64
Converts to this type from the input type.
source§impl From<QuoteAtomsPerQuoteLot> for u64
impl From<QuoteAtomsPerQuoteLot> for u64
source§fn from(x: QuoteAtomsPerQuoteLot) -> u64
fn from(x: QuoteAtomsPerQuoteLot) -> u64
Converts to this type from the input type.
source§impl Mul<QuoteAtomsPerQuoteLot> for QuoteLots
impl Mul<QuoteAtomsPerQuoteLot> for QuoteLots
§type Output = QuoteAtoms
type Output = QuoteAtoms
The resulting type after applying the
* operator.source§fn mul(self, other: QuoteAtomsPerQuoteLot) -> QuoteAtoms
fn mul(self, other: QuoteAtomsPerQuoteLot) -> QuoteAtoms
Performs the
* operation. Read moresource§impl Mul<QuoteAtomsPerQuoteLot> for QuoteLotsPerBaseUnitPerTick
impl Mul<QuoteAtomsPerQuoteLot> for QuoteLotsPerBaseUnitPerTick
§type Output = QuoteAtomsPerBaseUnitPerTick
type Output = QuoteAtomsPerBaseUnitPerTick
The resulting type after applying the
* operator.source§fn mul(self, other: QuoteAtomsPerQuoteLot) -> QuoteAtomsPerBaseUnitPerTick
fn mul(self, other: QuoteAtomsPerQuoteLot) -> QuoteAtomsPerBaseUnitPerTick
Performs the
* operation. Read moresource§impl Mul<QuoteAtomsPerQuoteLot> for QuoteLotsPerQuoteUnit
impl Mul<QuoteAtomsPerQuoteLot> for QuoteLotsPerQuoteUnit
§type Output = QuoteAtomsPerQuoteUnit
type Output = QuoteAtomsPerQuoteUnit
The resulting type after applying the
* operator.source§fn mul(self, other: QuoteAtomsPerQuoteLot) -> QuoteAtomsPerQuoteUnit
fn mul(self, other: QuoteAtomsPerQuoteLot) -> QuoteAtomsPerQuoteUnit
Performs the
* operation. Read moresource§impl Mul<QuoteLots> for QuoteAtomsPerQuoteLot
impl Mul<QuoteLots> for QuoteAtomsPerQuoteLot
§type Output = QuoteAtoms
type Output = QuoteAtoms
The resulting type after applying the
* operator.source§impl Mul<QuoteLotsPerBaseUnitPerTick> for QuoteAtomsPerQuoteLot
impl Mul<QuoteLotsPerBaseUnitPerTick> for QuoteAtomsPerQuoteLot
§type Output = QuoteAtomsPerBaseUnitPerTick
type Output = QuoteAtomsPerBaseUnitPerTick
The resulting type after applying the
* operator.source§fn mul(self, other: QuoteLotsPerBaseUnitPerTick) -> QuoteAtomsPerBaseUnitPerTick
fn mul(self, other: QuoteLotsPerBaseUnitPerTick) -> QuoteAtomsPerBaseUnitPerTick
Performs the
* operation. Read moresource§impl Mul<QuoteLotsPerQuoteUnit> for QuoteAtomsPerQuoteLot
impl Mul<QuoteLotsPerQuoteUnit> for QuoteAtomsPerQuoteLot
§type Output = QuoteAtomsPerQuoteUnit
type Output = QuoteAtomsPerQuoteUnit
The resulting type after applying the
* operator.source§fn mul(self, other: QuoteLotsPerQuoteUnit) -> QuoteAtomsPerQuoteUnit
fn mul(self, other: QuoteLotsPerQuoteUnit) -> QuoteAtomsPerQuoteUnit
Performs the
* operation. Read moresource§impl Ord for QuoteAtomsPerQuoteLot
impl Ord for QuoteAtomsPerQuoteLot
source§fn cmp(&self, other: &QuoteAtomsPerQuoteLot) -> Ordering
fn cmp(&self, other: &QuoteAtomsPerQuoteLot) -> 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<QuoteAtomsPerQuoteLot> for QuoteAtomsPerQuoteLot
impl PartialEq<QuoteAtomsPerQuoteLot> for QuoteAtomsPerQuoteLot
source§impl PartialEq<QuoteAtomsPerQuoteLot> for u64
impl PartialEq<QuoteAtomsPerQuoteLot> for u64
source§fn eq(&self, other: &QuoteAtomsPerQuoteLot) -> bool
fn eq(&self, other: &QuoteAtomsPerQuoteLot) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialEq<u64> for QuoteAtomsPerQuoteLot
impl PartialEq<u64> for QuoteAtomsPerQuoteLot
source§impl PartialOrd<QuoteAtomsPerQuoteLot> for QuoteAtomsPerQuoteLot
impl PartialOrd<QuoteAtomsPerQuoteLot> for QuoteAtomsPerQuoteLot
source§fn partial_cmp(&self, other: &QuoteAtomsPerQuoteLot) -> Option<Ordering>
fn partial_cmp(&self, other: &QuoteAtomsPerQuoteLot) -> Option<Ordering>
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 moresource§impl SubAssign<QuoteAtomsPerQuoteLot> for QuoteAtomsPerQuoteLot
impl SubAssign<QuoteAtomsPerQuoteLot> for QuoteAtomsPerQuoteLot
source§fn sub_assign(&mut self, other: Self)
fn sub_assign(&mut self, other: Self)
Performs the
-= operation. Read moresource§impl WrapperU64 for QuoteAtomsPerQuoteLot
impl WrapperU64 for QuoteAtomsPerQuoteLot
impl Copy for QuoteAtomsPerQuoteLot
impl Eq for QuoteAtomsPerQuoteLot
impl Pod for QuoteAtomsPerQuoteLot
Auto Trait Implementations§
impl RefUnwindSafe for QuoteAtomsPerQuoteLot
impl Send for QuoteAtomsPerQuoteLot
impl Sync for QuoteAtomsPerQuoteLot
impl Unpin for QuoteAtomsPerQuoteLot
impl UnwindSafe for QuoteAtomsPerQuoteLot
Blanket Implementations§
source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere T: AnyBitPattern,
§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.