pub struct Pool { /* private fields */ }Implementations§
Source§impl Pool
impl Pool
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_earnings(&self) -> &Decimal
pub const fn get_earnings_annual_as_percent_of_depth(&self) -> &Decimal
pub const fn get_liquidity_units(&self) -> &Decimal
pub const fn get_lp_luvi(&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 const fn get_status(&self) -> &PoolStatus
pub const fn get_synth_supply(&self) -> &Decimal
pub const fn get_synth_units(&self) -> &Decimal
pub const fn get_total_collateral(&self) -> &Decimal
pub const fn get_total_debt_tor(&self) -> &Decimal
pub const fn get_units(&self) -> &Decimal
pub const fn get_volume_24h(&self) -> &Decimal
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Pool
impl<'de> Deserialize<'de> for Pool
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 Pool
impl RefUnwindSafe for Pool
impl Send for Pool
impl Sync for Pool
impl Unpin for Pool
impl UnwindSafe for Pool
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