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