pub struct QuoteAtomsPerBaseUnitPerTick { /* private fields */ }
Implementations§
Source§impl QuoteAtomsPerBaseUnitPerTick
impl QuoteAtomsPerBaseUnitPerTick
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 QuoteAtomsPerBaseUnitPerTick
impl Add for QuoteAtomsPerBaseUnitPerTick
Source§impl AddAssign for QuoteAtomsPerBaseUnitPerTick
impl AddAssign for QuoteAtomsPerBaseUnitPerTick
Source§fn add_assign(&mut self, other: Self)
fn add_assign(&mut self, other: Self)
Performs the
+=
operation. Read moreSource§impl Clone for QuoteAtomsPerBaseUnitPerTick
impl Clone for QuoteAtomsPerBaseUnitPerTick
Source§fn clone(&self) -> QuoteAtomsPerBaseUnitPerTick
fn clone(&self) -> QuoteAtomsPerBaseUnitPerTick
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 QuoteAtomsPerBaseUnitPerTick
impl Debug for QuoteAtomsPerBaseUnitPerTick
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<QuoteLotsPerBaseUnitPerTick> for QuoteAtomsPerBaseUnitPerTick
impl Div<QuoteLotsPerBaseUnitPerTick> for QuoteAtomsPerBaseUnitPerTick
Source§type Output = QuoteAtomsPerQuoteLot
type Output = QuoteAtomsPerQuoteLot
The resulting type after applying the
/
operator.Source§fn div(self, other: QuoteLotsPerBaseUnitPerTick) -> QuoteAtomsPerQuoteLot
fn div(self, other: QuoteLotsPerBaseUnitPerTick) -> QuoteAtomsPerQuoteLot
Performs the
/
operation. Read moreSource§impl From<QuoteAtomsPerBaseUnitPerTick> for f64
impl From<QuoteAtomsPerBaseUnitPerTick> for f64
Source§fn from(x: QuoteAtomsPerBaseUnitPerTick) -> f64
fn from(x: QuoteAtomsPerBaseUnitPerTick) -> f64
Converts to this type from the input type.
Source§impl From<QuoteAtomsPerBaseUnitPerTick> for u64
impl From<QuoteAtomsPerBaseUnitPerTick> for u64
Source§fn from(x: QuoteAtomsPerBaseUnitPerTick) -> u64
fn from(x: QuoteAtomsPerBaseUnitPerTick) -> u64
Converts to this type from the input type.
Source§impl Mul for QuoteAtomsPerBaseUnitPerTick
impl Mul for QuoteAtomsPerBaseUnitPerTick
Source§impl Ord for QuoteAtomsPerBaseUnitPerTick
impl Ord for QuoteAtomsPerBaseUnitPerTick
Source§fn cmp(&self, other: &QuoteAtomsPerBaseUnitPerTick) -> Ordering
fn cmp(&self, other: &QuoteAtomsPerBaseUnitPerTick) -> 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<QuoteAtomsPerBaseUnitPerTick> for u64
impl PartialEq<QuoteAtomsPerBaseUnitPerTick> for u64
Source§fn eq(&self, other: &QuoteAtomsPerBaseUnitPerTick) -> bool
fn eq(&self, other: &QuoteAtomsPerBaseUnitPerTick) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialEq<u64> for QuoteAtomsPerBaseUnitPerTick
impl PartialEq<u64> for QuoteAtomsPerBaseUnitPerTick
Source§impl PartialOrd for QuoteAtomsPerBaseUnitPerTick
impl PartialOrd for QuoteAtomsPerBaseUnitPerTick
Source§impl Sub for QuoteAtomsPerBaseUnitPerTick
impl Sub for QuoteAtomsPerBaseUnitPerTick
Source§impl SubAssign for QuoteAtomsPerBaseUnitPerTick
impl SubAssign for QuoteAtomsPerBaseUnitPerTick
Source§fn sub_assign(&mut self, other: Self)
fn sub_assign(&mut self, other: Self)
Performs the
-=
operation. Read moreSource§impl Sum for QuoteAtomsPerBaseUnitPerTick
impl Sum for QuoteAtomsPerBaseUnitPerTick
impl Copy for QuoteAtomsPerBaseUnitPerTick
impl Eq for QuoteAtomsPerBaseUnitPerTick
impl Pod for QuoteAtomsPerBaseUnitPerTick
Auto Trait Implementations§
impl Freeze for QuoteAtomsPerBaseUnitPerTick
impl RefUnwindSafe for QuoteAtomsPerBaseUnitPerTick
impl Send for QuoteAtomsPerBaseUnitPerTick
impl Sync for QuoteAtomsPerBaseUnitPerTick
impl Unpin for QuoteAtomsPerBaseUnitPerTick
impl UnwindSafe for QuoteAtomsPerBaseUnitPerTick
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