pub struct Pool { /* private fields */ }
Implementations§
Source§impl Pool
impl Pool
pub const fn get_asset(&self) -> &Asset
pub const fn get_rune_depth(&self) -> &Depth
pub const fn get_asset_depth(&self) -> &Depth
pub const fn get_asset_price_usd(&self) -> &AssetPrice
pub const fn get_asset_price(&self) -> &AssetPrice
pub const fn get_liquidity_units(&self) -> &AssetPrice
pub const fn get_pool_apy(&self) -> Decimal
pub const fn get_savers_depth(&self) -> &AssetPrice
pub const fn get_savers_units(&self) -> &AssetPrice
pub fn get_status(&self) -> &str
pub const fn get_synth_supply(&self) -> &AssetPrice
pub const fn get_synth_units(&self) -> &AssetPrice
pub const fn get_units(&self) -> &AssetPrice
pub const fn get_volume_24h(&self) -> &AssetPrice
pub const fn get_detail(&self) -> &PoolDetail
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