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 Add for QuoteAtomsPerQuoteLot
impl Add for QuoteAtomsPerQuoteLot
Source§impl AddAssign for QuoteAtomsPerQuoteLot
impl AddAssign 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 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 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
Source§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
Source§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
Source§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
Source§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
Source§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
Source§type Output = QuoteAtoms
type Output = QuoteAtoms
The resulting type after applying the
* operator.Source§impl Mul<QuoteLotsPerBaseUnitPerTick> for QuoteAtomsPerQuoteLot
impl Mul<QuoteLotsPerBaseUnitPerTick> for QuoteAtomsPerQuoteLot
Source§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
Source§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 Mul for QuoteAtomsPerQuoteLot
impl Mul for QuoteAtomsPerQuoteLot
Source§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 u64
impl PartialEq<QuoteAtomsPerQuoteLot> for u64
Source§impl PartialEq<u64> for QuoteAtomsPerQuoteLot
impl PartialEq<u64> for QuoteAtomsPerQuoteLot
Source§impl PartialEq for QuoteAtomsPerQuoteLot
impl PartialEq for QuoteAtomsPerQuoteLot
Source§impl PartialOrd for QuoteAtomsPerQuoteLot
impl PartialOrd for QuoteAtomsPerQuoteLot
Source§impl Sub for QuoteAtomsPerQuoteLot
impl Sub for QuoteAtomsPerQuoteLot
Source§impl SubAssign for QuoteAtomsPerQuoteLot
impl SubAssign for QuoteAtomsPerQuoteLot
Source§fn sub_assign(&mut self, other: Self)
fn sub_assign(&mut self, other: Self)
Performs the
-= operation. Read moreSource§impl Sum for QuoteAtomsPerQuoteLot
impl Sum for QuoteAtomsPerQuoteLot
Source§impl WrapperU64 for QuoteAtomsPerQuoteLot
impl WrapperU64 for QuoteAtomsPerQuoteLot
impl Copy for QuoteAtomsPerQuoteLot
impl Eq for QuoteAtomsPerQuoteLot
impl Pod for QuoteAtomsPerQuoteLot
Auto Trait Implementations§
impl Freeze for QuoteAtomsPerQuoteLot
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> 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> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§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.Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more