pub struct MeteoraDammV2InitializePoolEvent {Show 23 fields
pub metadata: EventMetadata,
pub pool: Pubkey,
pub token_a_mint: Pubkey,
pub token_b_mint: Pubkey,
pub creator: Pubkey,
pub payer: Pubkey,
pub position: Pubkey,
pub position_nft_mint: Pubkey,
pub alpha_vault: Pubkey,
pub sqrt_min_price: u128,
pub sqrt_max_price: u128,
pub activation_type: u8,
pub collect_fee_mode: u8,
pub liquidity: u128,
pub sqrt_price: u128,
pub activation_point: Option<u64>,
pub token_a_flag: u8,
pub token_b_flag: u8,
pub token_a_amount: u64,
pub token_b_amount: u64,
pub total_amount_a: u64,
pub total_amount_b: u64,
pub pool_type: u8,
}Expand description
Meteora DAMM V2 Initialize Pool Event
Fields§
§metadata: EventMetadata§pool: Pubkey§token_a_mint: Pubkey§token_b_mint: Pubkey§creator: Pubkey§payer: Pubkey§position: Pubkey§position_nft_mint: Pubkey§alpha_vault: Pubkey§sqrt_min_price: u128§sqrt_max_price: u128§activation_type: u8§collect_fee_mode: u8§liquidity: u128§sqrt_price: u128§activation_point: Option<u64>§token_a_flag: u8§token_b_flag: u8§token_a_amount: u64§token_b_amount: u64§total_amount_a: u64§total_amount_b: u64§pool_type: u8Trait Implementations§
Source§impl Clone for MeteoraDammV2InitializePoolEvent
impl Clone for MeteoraDammV2InitializePoolEvent
Source§fn clone(&self) -> MeteoraDammV2InitializePoolEvent
fn clone(&self) -> MeteoraDammV2InitializePoolEvent
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 moreSource§impl Default for MeteoraDammV2InitializePoolEvent
impl Default for MeteoraDammV2InitializePoolEvent
Source§fn default() -> MeteoraDammV2InitializePoolEvent
fn default() -> MeteoraDammV2InitializePoolEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MeteoraDammV2InitializePoolEvent
impl<'de> Deserialize<'de> for MeteoraDammV2InitializePoolEvent
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 MeteoraDammV2InitializePoolEvent
impl RefUnwindSafe for MeteoraDammV2InitializePoolEvent
impl Send for MeteoraDammV2InitializePoolEvent
impl Sync for MeteoraDammV2InitializePoolEvent
impl Unpin for MeteoraDammV2InitializePoolEvent
impl UnsafeUnpin for MeteoraDammV2InitializePoolEvent
impl UnwindSafe for MeteoraDammV2InitializePoolEvent
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::RequestSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request