pub struct PoolInfo {Show 14 fields
pub address: String,
pub token_mint_a: String,
pub token_mint_b: String,
pub token_vault_a: String,
pub token_vault_b: String,
pub lp_token_mint: String,
pub fee_account: String,
pub trade_fee_numerator: u64,
pub trade_fee_denominator: u64,
pub tick_spacing: u16,
pub liquidity: u128,
pub sqrt_price: u128,
pub fee_growth_global_a: u128,
pub fee_growth_global_b: u128,
}Fields§
§address: String§token_mint_a: String§token_mint_b: String§token_vault_a: String§token_vault_b: String§lp_token_mint: String§fee_account: String§trade_fee_numerator: u64§trade_fee_denominator: u64§tick_spacing: u16§liquidity: u128§sqrt_price: u128§fee_growth_global_a: u128§fee_growth_global_b: u128Trait Implementations§
Auto Trait Implementations§
impl Freeze for PoolInfo
impl RefUnwindSafe for PoolInfo
impl Send for PoolInfo
impl Sync for PoolInfo
impl Unpin for PoolInfo
impl UnsafeUnpin for PoolInfo
impl UnwindSafe for PoolInfo
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more