Struct midgard_rs::SaversHistoryInterval
source · pub struct SaversHistoryInterval { /* private fields */ }Implementations§
source§impl SaversHistoryInterval
impl SaversHistoryInterval
pub const fn get_end_time(&self) -> &DateTime<Utc>
pub const fn get_savers_count(&self) -> &u64
pub const fn get_savers_depth(&self) -> &u64
pub const fn get_savers_units(&self) -> &u64
pub const fn get_start_time(&self) -> &DateTime<Utc>
Trait Implementations§
source§impl Clone for SaversHistoryInterval
impl Clone for SaversHistoryInterval
source§fn clone(&self) -> SaversHistoryInterval
fn clone(&self) -> SaversHistoryInterval
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 SaversHistoryInterval
impl Debug for SaversHistoryInterval
source§impl Default for SaversHistoryInterval
impl Default for SaversHistoryInterval
source§fn default() -> SaversHistoryInterval
fn default() -> SaversHistoryInterval
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SaversHistoryInterval
impl<'de> Deserialize<'de> for SaversHistoryInterval
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 SaversHistoryInterval
impl RefUnwindSafe for SaversHistoryInterval
impl Send for SaversHistoryInterval
impl Sync for SaversHistoryInterval
impl Unpin for SaversHistoryInterval
impl UnwindSafe for SaversHistoryInterval
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