#[repr(C)]pub struct CreatePoolInstruction {
pub discriminator: [u8; 8],
pub index: u16,
pub base_amount_in: u64,
pub quote_amount_in: u64,
pub coin_creator: Pubkey,
}Fields§
§discriminator: [u8; 8]§index: u16§base_amount_in: u64§quote_amount_in: u64§coin_creator: PubkeyImplementations§
Trait Implementations§
Source§impl Clone for CreatePoolInstruction
impl Clone for CreatePoolInstruction
Source§fn clone(&self) -> CreatePoolInstruction
fn clone(&self) -> CreatePoolInstruction
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 Debug for CreatePoolInstruction
impl Debug for CreatePoolInstruction
Source§impl Default for CreatePoolInstruction
impl Default for CreatePoolInstruction
Source§fn default() -> CreatePoolInstruction
fn default() -> CreatePoolInstruction
Returns the “default value” for a type. Read more
Source§impl PartialEq for CreatePoolInstruction
impl PartialEq for CreatePoolInstruction
Source§fn eq(&self, other: &CreatePoolInstruction) -> bool
fn eq(&self, other: &CreatePoolInstruction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CreatePoolInstruction
impl StructuralPartialEq for CreatePoolInstruction
Auto Trait Implementations§
impl Freeze for CreatePoolInstruction
impl RefUnwindSafe for CreatePoolInstruction
impl Send for CreatePoolInstruction
impl Sync for CreatePoolInstruction
impl Unpin for CreatePoolInstruction
impl UnsafeUnpin for CreatePoolInstruction
impl UnwindSafe for CreatePoolInstruction
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