Struct midgard_rs::SwapHistory
source · pub struct SwapHistory { /* private fields */ }Implementations§
source§impl SwapHistory
impl SwapHistory
pub const fn get_intervals(&self) -> &SwapIntervals
pub const fn get_meta(&self) -> &SwapMeta
Trait Implementations§
source§impl Clone for SwapHistory
impl Clone for SwapHistory
source§fn clone(&self) -> SwapHistory
fn clone(&self) -> SwapHistory
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 SwapHistory
impl Debug for SwapHistory
source§impl Default for SwapHistory
impl Default for SwapHistory
source§fn default() -> SwapHistory
fn default() -> SwapHistory
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SwapHistory
impl<'de> Deserialize<'de> for SwapHistory
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 SwapHistory
impl RefUnwindSafe for SwapHistory
impl Send for SwapHistory
impl Sync for SwapHistory
impl Unpin for SwapHistory
impl UnwindSafe for SwapHistory
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