Struct midgard_rs::EarningsPool
source · pub struct EarningsPool { /* private fields */ }Implementations§
source§impl EarningsPool
impl EarningsPool
pub const fn get_asset_liquidity_fees(&self) -> &u64
pub const fn get_earnings(&self) -> &u64
pub fn get_pool(&self) -> &str
pub const fn get_rewards(&self) -> &i64
pub const fn get_rune_liquidity_fees(&self) -> &u64
pub const fn get_saver_earning(&self) -> &u64
pub const fn get_total_liquidity_fees_rune(&self) -> &u64
Trait Implementations§
source§impl Clone for EarningsPool
impl Clone for EarningsPool
source§fn clone(&self) -> EarningsPool
fn clone(&self) -> EarningsPool
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 EarningsPool
impl Debug for EarningsPool
source§impl Default for EarningsPool
impl Default for EarningsPool
source§fn default() -> EarningsPool
fn default() -> EarningsPool
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for EarningsPool
impl<'de> Deserialize<'de> for EarningsPool
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 EarningsPool
impl RefUnwindSafe for EarningsPool
impl Send for EarningsPool
impl Sync for EarningsPool
impl Unpin for EarningsPool
impl UnwindSafe for EarningsPool
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