pub struct InitializeWithData {
pub encoding: Encoding,
pub bump: u8,
pub data: Vec<u8>,
}Expand description
Instruction.
Fields§
§encoding: Encoding§bump: u8§data: Vec<u8>Trait Implementations§
Source§impl BorshSerialize for InitializeWithData
impl BorshSerialize for InitializeWithData
Source§impl InstructionData for InitializeWithData
impl InstructionData for InitializeWithData
Auto Trait Implementations§
impl Freeze for InitializeWithData
impl RefUnwindSafe for InitializeWithData
impl Send for InitializeWithData
impl Sync for InitializeWithData
impl Unpin for InitializeWithData
impl UnwindSafe for InitializeWithData
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> 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