pub struct PoolDetail { /* private fields */ }
Implementations§
Source§impl PoolDetail
impl PoolDetail
pub const fn get_annual_percentage_rate(&self) -> &Decimal
pub fn get_asset(&self) -> &str
pub const fn get_asset_depth(&self) -> &Decimal
pub const fn get_asset_price(&self) -> &Decimal
pub const fn get_asset_price_usd(&self) -> &Decimal
pub const fn get_liquidity_units(&self) -> &Decimal
pub const fn get_native_decimal(&self) -> &Decimal
pub const fn get_pool_apy(&self) -> &Decimal
pub const fn get_rune_depth(&self) -> &Decimal
pub const fn get_savers_apr(&self) -> &Decimal
pub const fn get_savers_depth(&self) -> &Decimal
pub const fn get_savers_units(&self) -> &Decimal
pub fn get_status(&self) -> &str
pub const fn get_synth_supply(&self) -> &Decimal
pub const fn get_synth_units(&self) -> &Decimal
pub const fn get_units(&self) -> &Decimal
pub const fn get_volume_24h(&self) -> &Decimal
Trait Implementations§
Source§impl Clone for PoolDetail
impl Clone for PoolDetail
Source§fn clone(&self) -> PoolDetail
fn clone(&self) -> PoolDetail
Returns a duplicate 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 PoolDetail
impl Debug for PoolDetail
Source§impl<'de> Deserialize<'de> for PoolDetail
impl<'de> Deserialize<'de> for PoolDetail
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 PoolDetail
impl RefUnwindSafe for PoolDetail
impl Send for PoolDetail
impl Sync for PoolDetail
impl Unpin for PoolDetail
impl UnwindSafe for PoolDetail
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