pub struct PostCommentNew {
pub post: Pubkey,
pub profile: Pubkey,
pub user: Pubkey,
pub random_hash: [u8; 32],
pub metadata_uri: String,
pub reply_to: Pubkey,
pub timestamp: i64,
}
Fields§
§post: Pubkey
§profile: Pubkey
§user: Pubkey
§random_hash: [u8; 32]
§metadata_uri: String
§reply_to: Pubkey
§timestamp: i64
Trait Implementations§
Source§impl BorshDeserialize for PostCommentNewwhere
Pubkey: BorshDeserialize,
[u8; 32]: BorshDeserialize,
String: BorshDeserialize,
i64: BorshDeserialize,
impl BorshDeserialize for PostCommentNewwhere
Pubkey: BorshDeserialize,
[u8; 32]: BorshDeserialize,
String: BorshDeserialize,
i64: BorshDeserialize,
Source§impl BorshSerialize for PostCommentNewwhere
Pubkey: BorshSerialize,
[u8; 32]: BorshSerialize,
String: BorshSerialize,
i64: BorshSerialize,
impl BorshSerialize for PostCommentNewwhere
Pubkey: BorshSerialize,
[u8; 32]: BorshSerialize,
String: BorshSerialize,
i64: BorshSerialize,
Source§impl Discriminator for PostCommentNew
impl Discriminator for PostCommentNew
const DISCRIMINATOR: [u8; 8]
fn discriminator() -> [u8; 8]
Auto Trait Implementations§
impl Freeze for PostCommentNew
impl RefUnwindSafe for PostCommentNew
impl Send for PostCommentNew
impl Sync for PostCommentNew
impl Unpin for PostCommentNew
impl UnwindSafe for PostCommentNew
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