pub struct Depth { /* private fields */ }
Implementations§
Source§impl Depth
impl Depth
pub const fn get_asset_amount(&self) -> &Decimal
pub const fn get_base_amount(&self) -> &Decimal
pub const fn get_decimal(&self) -> &Decimal
pub const fn get_asset(&self) -> &Asset
pub const fn get_amount(&self) -> &AssetPrice
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Depth
impl<'de> Deserialize<'de> for Depth
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
Auto Trait Implementations§
impl Freeze for Depth
impl RefUnwindSafe for Depth
impl Send for Depth
impl Sync for Depth
impl Unpin for Depth
impl UnwindSafe for Depth
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