pub struct CreateCompressedReaction {
pub to_post: Pubkey,
pub reaction_type: String,
pub post_root: [u8; 32],
pub post_leaf: [u8; 32],
pub post_index: u32,
}
Expand description
Instruction.
Fields§
§to_post: Pubkey
§reaction_type: String
§post_root: [u8; 32]
§post_leaf: [u8; 32]
§post_index: u32
Trait Implementations§
Source§impl BorshDeserialize for CreateCompressedReactionwhere
Pubkey: BorshDeserialize,
String: BorshDeserialize,
[u8; 32]: BorshDeserialize,
u32: BorshDeserialize,
impl BorshDeserialize for CreateCompressedReactionwhere
Pubkey: BorshDeserialize,
String: BorshDeserialize,
[u8; 32]: BorshDeserialize,
u32: BorshDeserialize,
Source§impl BorshSerialize for CreateCompressedReactionwhere
Pubkey: BorshSerialize,
String: BorshSerialize,
[u8; 32]: BorshSerialize,
u32: BorshSerialize,
impl BorshSerialize for CreateCompressedReactionwhere
Pubkey: BorshSerialize,
String: BorshSerialize,
[u8; 32]: BorshSerialize,
u32: BorshSerialize,
Source§impl Discriminator for CreateCompressedReaction
impl Discriminator for CreateCompressedReaction
const DISCRIMINATOR: [u8; 8]
fn discriminator() -> [u8; 8]
Auto Trait Implementations§
impl Freeze for CreateCompressedReaction
impl RefUnwindSafe for CreateCompressedReaction
impl Send for CreateCompressedReaction
impl Sync for CreateCompressedReaction
impl Unpin for CreateCompressedReaction
impl UnwindSafe for CreateCompressedReaction
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