pub struct LiquidityPoolInfo {Show 16 fields
pub pubkey: String,
pub authority: String,
pub token_a_mint: String,
pub token_b_mint: String,
pub token_a_vault: String,
pub token_b_vault: String,
pub lp_mint: String,
pub reserve_a: u64,
pub reserve_b: u64,
pub total_lp_supply: u64,
pub swap_fee_bps: u64,
pub protocol_fee_bps: u64,
pub collected_fees_a: u64,
pub collected_fees_b: u64,
pub is_active: bool,
pub created_at: i64,
}Fields§
§pubkey: String§token_a_mint: String§token_b_mint: String§token_a_vault: String§token_b_vault: String§lp_mint: String§reserve_a: u64§reserve_b: u64§total_lp_supply: u64§swap_fee_bps: u64§protocol_fee_bps: u64§collected_fees_a: u64§collected_fees_b: u64§is_active: bool§created_at: i64Trait Implementations§
Source§impl Clone for LiquidityPoolInfo
impl Clone for LiquidityPoolInfo
Source§fn clone(&self) -> LiquidityPoolInfo
fn clone(&self) -> LiquidityPoolInfo
Returns a duplicate 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 LiquidityPoolInfo
impl Debug for LiquidityPoolInfo
Source§impl Serialize for LiquidityPoolInfo
impl Serialize for LiquidityPoolInfo
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for LiquidityPoolInfo
impl RefUnwindSafe for LiquidityPoolInfo
impl Send for LiquidityPoolInfo
impl Sync for LiquidityPoolInfo
impl Unpin for LiquidityPoolInfo
impl UnsafeUnpin for LiquidityPoolInfo
impl UnwindSafe for LiquidityPoolInfo
Blanket Implementations§
Source§impl<T> AbiEnumVisitor for T
impl<T> AbiEnumVisitor for T
default fn visit_for_abi( &self, _digester: &mut AbiDigester, ) -> Result<AbiDigester, DigestError>
Source§impl<T> AbiEnumVisitor for T
impl<T> AbiEnumVisitor for T
default fn visit_for_abi( &self, digester: &mut AbiDigester, ) -> Result<AbiDigester, DigestError>
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