pub struct PumpPoolState {Show 14 fields
pub token_mint: [u8; 32],
pub bonding_curve: [u8; 32],
pub virtual_token_reserve: u64,
pub virtual_sol_reserve: u64,
pub real_token_reserve: u64,
pub real_sol_reserve: u64,
pub total_supply: u64,
pub current_progress: u64,
pub curve_type: u8,
pub fee_bps: u16,
pub creator: [u8; 32],
pub created_at: i64,
pub last_updated: i64,
pub status: u8,
/* private fields */
}Fields§
§token_mint: [u8; 32]§bonding_curve: [u8; 32]§virtual_token_reserve: u64§virtual_sol_reserve: u64§real_token_reserve: u64§real_sol_reserve: u64§total_supply: u64§current_progress: u64§curve_type: u8§fee_bps: u16§creator: [u8; 32]§created_at: i64§last_updated: i64§status: u8Trait Implementations§
Source§impl Clone for PumpPoolState
impl Clone for PumpPoolState
Source§fn clone(&self) -> PumpPoolState
fn clone(&self) -> PumpPoolState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PumpPoolState
Auto Trait Implementations§
impl Freeze for PumpPoolState
impl RefUnwindSafe for PumpPoolState
impl Send for PumpPoolState
impl Sync for PumpPoolState
impl Unpin for PumpPoolState
impl UnsafeUnpin for PumpPoolState
impl UnwindSafe for PumpPoolState
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,
impl<T> ErasedDestructor for Twhere
T: 'static,
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