Struct midgard_rs::DepthHistoryInterval
source · pub struct DepthHistoryInterval { /* private fields */ }Implementations§
source§impl DepthHistoryInterval
impl DepthHistoryInterval
pub const fn get_asset_depth(&self) -> &u64
pub const fn get_asset_price(&self) -> &Decimal
pub const fn get_asset_price_usd(&self) -> &Decimal
pub const fn get_end_time(&self) -> &DateTime<Utc>
pub const fn get_liquidity_units(&self) -> &u64
pub const fn get_luvi(&self) -> &Decimal
pub const fn get_members_count(&self) -> &u64
pub const fn get_rune_depth(&self) -> &u64
pub const fn get_start_time(&self) -> &DateTime<Utc>
pub const fn get_synth_supply(&self) -> &u64
pub const fn get_synth_units(&self) -> &u64
pub const fn get_units(&self) -> &u64
Trait Implementations§
source§impl Clone for DepthHistoryInterval
impl Clone for DepthHistoryInterval
source§fn clone(&self) -> DepthHistoryInterval
fn clone(&self) -> DepthHistoryInterval
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 DepthHistoryInterval
impl Debug for DepthHistoryInterval
source§impl<'de> Deserialize<'de> for DepthHistoryInterval
impl<'de> Deserialize<'de> for DepthHistoryInterval
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 DepthHistoryInterval
impl RefUnwindSafe for DepthHistoryInterval
impl Send for DepthHistoryInterval
impl Sync for DepthHistoryInterval
impl Unpin for DepthHistoryInterval
impl UnwindSafe for DepthHistoryInterval
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