Struct midgard_rs::SwapInterval
source · pub struct SwapInterval { /* private fields */ }Implementations§
source§impl SwapInterval
impl SwapInterval
pub const fn get_average_slip(&self) -> &Decimal
pub const fn get_end_time(&self) -> &DateTime<Utc>
pub const fn get_rune_price_usd(&self) -> &Decimal
pub const fn get_start_time(&self) -> &DateTime<Utc>
pub const fn get_synth_mint_average_slip(&self) -> &Decimal
pub const fn get_synth_mint_count(&self) -> &u64
pub const fn get_synth_mint_fees(&self) -> &u64
pub const fn get_synth_mint_volume(&self) -> &u64
pub const fn get_synth_redeem_average_slip(&self) -> &Decimal
pub const fn get_synth_redeem_count(&self) -> &u64
pub const fn get_synth_redeem_fees(&self) -> &u64
pub const fn get_synth_redeem_volume(&self) -> &u64
pub const fn get_to_asset_average_slip(&self) -> &Decimal
pub const fn get_to_asset_count(&self) -> &u64
pub const fn get_to_asset_fees(&self) -> &u64
pub const fn get_to_asset_volume(&self) -> &u64
pub const fn get_to_asset_volume_usd(&self) -> &Option<u64>
pub const fn get_to_rune_average_slip(&self) -> &Decimal
pub const fn get_to_rune_count(&self) -> &u64
pub const fn get_to_rune_fees(&self) -> &u64
pub const fn get_to_rune_volume(&self) -> &u64
pub const fn get_to_rune_volume_usd(&self) -> &Option<u64>
pub const fn get_total_count(&self) -> &u64
pub const fn get_total_fees(&self) -> &u64
pub const fn get_total_volume(&self) -> &u64
pub const fn get_total_volume_usd(&self) -> &Option<u64>
Trait Implementations§
source§impl Clone for SwapInterval
impl Clone for SwapInterval
source§fn clone(&self) -> SwapInterval
fn clone(&self) -> SwapInterval
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 SwapInterval
impl Debug for SwapInterval
source§impl Default for SwapInterval
impl Default for SwapInterval
source§fn default() -> SwapInterval
fn default() -> SwapInterval
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SwapInterval
impl<'de> Deserialize<'de> for SwapInterval
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 SwapInterval
impl RefUnwindSafe for SwapInterval
impl Send for SwapInterval
impl Sync for SwapInterval
impl Unpin for SwapInterval
impl UnwindSafe for SwapInterval
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