Struct midgard_rs::TVLInterval
source · pub struct TVLInterval { /* private fields */ }Implementations§
source§impl TVLInterval
impl TVLInterval
pub const fn get_end_time(&self) -> &DateTime<Utc>
pub const fn get_pools_depth(&self) -> &TVLPoolDepths
pub const fn get_rune_price_usd(&self) -> &Decimal
pub const fn get_start_time(&self) -> &DateTime<Utc>
pub const fn get_total_value_pooled(&self) -> &u64
Trait Implementations§
source§impl Clone for TVLInterval
impl Clone for TVLInterval
source§fn clone(&self) -> TVLInterval
fn clone(&self) -> TVLInterval
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 TVLInterval
impl Debug for TVLInterval
source§impl<'de> Deserialize<'de> for TVLInterval
impl<'de> Deserialize<'de> for TVLInterval
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 TVLInterval
impl RefUnwindSafe for TVLInterval
impl Send for TVLInterval
impl Sync for TVLInterval
impl Unpin for TVLInterval
impl UnwindSafe for TVLInterval
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