pub struct PoolMarket<'a> {
pub base_vault_amount: u64,
pub quote_reserves: u64,
pub created_at: i64,
pub fees: &'a DexFees,
pub landing: Landing,
}Expand description
Read quote_reserves and created_at from the Pool account, not from a
vault.
Fields§
§base_vault_amount: u64The base vault’s token amount. The program prices from it, not from
pool.base_reserves.
quote_reserves: u64§created_at: i64§fees: &'a DexFeesPartnerConfig.dex of the trade’s partner on the pool’s platform.
landing: LandingTrait Implementations§
Source§impl<'a> Clone for PoolMarket<'a>
impl<'a> Clone for PoolMarket<'a>
impl<'a> Copy for PoolMarket<'a>
Auto Trait Implementations§
impl<'a> Freeze for PoolMarket<'a>
impl<'a> RefUnwindSafe for PoolMarket<'a>
impl<'a> Send for PoolMarket<'a>
impl<'a> Sync for PoolMarket<'a>
impl<'a> Unpin for PoolMarket<'a>
impl<'a> UnsafeUnpin for PoolMarket<'a>
impl<'a> UnwindSafe for PoolMarket<'a>
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