Struct human_program::RegisterPostInstruction
source · #[repr(C)]pub struct RegisterPostInstruction {
pub royalty_addr: Pubkey,
pub post_id: [u8; 32],
pub created_at: UnixTimestamp,
pub post_name: String,
pub post_metadata_uri: String,
pub collection_name: String,
pub collection_metadata_uri: String,
pub symbol: String,
pub repost_price: u64,
}Fields§
§royalty_addr: Pubkey§post_id: [u8; 32]§created_at: UnixTimestamp§post_name: String§post_metadata_uri: String§collection_name: String§collection_metadata_uri: String§symbol: String§repost_price: u64Trait Implementations§
source§impl BorshDeserialize for RegisterPostInstructionwhere
Pubkey: BorshDeserialize,
[u8; 32]: BorshDeserialize,
UnixTimestamp: BorshDeserialize,
String: BorshDeserialize,
u64: BorshDeserialize,
impl BorshDeserialize for RegisterPostInstructionwhere Pubkey: BorshDeserialize, [u8; 32]: BorshDeserialize, UnixTimestamp: BorshDeserialize, String: BorshDeserialize, u64: BorshDeserialize,
source§impl BorshSerialize for RegisterPostInstructionwhere
Pubkey: BorshSerialize,
[u8; 32]: BorshSerialize,
UnixTimestamp: BorshSerialize,
String: BorshSerialize,
u64: BorshSerialize,
impl BorshSerialize for RegisterPostInstructionwhere Pubkey: BorshSerialize, [u8; 32]: BorshSerialize, UnixTimestamp: BorshSerialize, String: BorshSerialize, u64: BorshSerialize,
Auto Trait Implementations§
impl RefUnwindSafe for RegisterPostInstruction
impl Send for RegisterPostInstruction
impl Sync for RegisterPostInstruction
impl Unpin for RegisterPostInstruction
impl UnwindSafe for RegisterPostInstruction
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