#[repr(C)]pub struct InitializeData {
pub nonce: u8,
pub amp_factor: u64,
pub fees: Fees,
}
Expand description
Initialize instruction data
Fields§
§nonce: u8
Nonce used to create valid program address
amp_factor: u64
Amplification coefficient (A)
fees: Fees
Fees
Trait Implementations§
Source§impl Clone for InitializeData
impl Clone for InitializeData
Source§fn clone(&self) -> InitializeData
fn clone(&self) -> InitializeData
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 InitializeData
impl Debug for InitializeData
Source§impl PartialEq for InitializeData
impl PartialEq for InitializeData
impl Copy for InitializeData
impl StructuralPartialEq for InitializeData
Auto Trait Implementations§
impl Freeze for InitializeData
impl RefUnwindSafe for InitializeData
impl Send for InitializeData
impl Sync for InitializeData
impl Unpin for InitializeData
impl UnwindSafe for InitializeData
Blanket Implementations§
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> 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