Struct midgard_rs::DepthHistoryMeta
source · pub struct DepthHistoryMeta { /* private fields */ }Implementations§
source§impl DepthHistoryMeta
impl DepthHistoryMeta
pub const fn get_end_asset_depth(&self) -> &u64
pub const fn get_end_lp_units(&self) -> &u64
pub const fn get_end_member_count(&self) -> &u64
pub const fn get_end_rune_depth(&self) -> &u64
pub const fn get_end_synth_units(&self) -> &u64
pub const fn get_end_time(&self) -> &DateTime<Utc>
pub const fn get_luvi_increase(&self) -> &Decimal
pub const fn get_price_shift_loss(&self) -> &Decimal
pub const fn get_start_asset_depth(&self) -> &u64
pub const fn get_start_lp_units(&self) -> &u64
pub const fn get_start_member_count(&self) -> &u64
pub const fn get_start_rune_depth(&self) -> &u64
pub const fn get_start_synth_units(&self) -> &u64
pub const fn get_start_time(&self) -> &DateTime<Utc>
Trait Implementations§
source§impl Clone for DepthHistoryMeta
impl Clone for DepthHistoryMeta
source§fn clone(&self) -> DepthHistoryMeta
fn clone(&self) -> DepthHistoryMeta
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 DepthHistoryMeta
impl Debug for DepthHistoryMeta
source§impl Default for DepthHistoryMeta
impl Default for DepthHistoryMeta
source§fn default() -> DepthHistoryMeta
fn default() -> DepthHistoryMeta
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DepthHistoryMeta
impl<'de> Deserialize<'de> for DepthHistoryMeta
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
source§impl PartialEq for DepthHistoryMeta
impl PartialEq for DepthHistoryMeta
source§fn eq(&self, other: &DepthHistoryMeta) -> bool
fn eq(&self, other: &DepthHistoryMeta) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for DepthHistoryMeta
impl Serialize for DepthHistoryMeta
impl Eq for DepthHistoryMeta
impl StructuralPartialEq for DepthHistoryMeta
Auto Trait Implementations§
impl Freeze for DepthHistoryMeta
impl RefUnwindSafe for DepthHistoryMeta
impl Send for DepthHistoryMeta
impl Sync for DepthHistoryMeta
impl Unpin for DepthHistoryMeta
impl UnwindSafe for DepthHistoryMeta
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.