Struct human_program::CreateDropInstruction
source · #[repr(C)]pub struct CreateDropInstruction {
pub id: u64,
pub amount: u64,
pub price: u64,
pub start_date: UnixTimestamp,
pub end_date: UnixTimestamp,
}
Fields§
§id: u64
§amount: u64
§price: u64
§start_date: UnixTimestamp
§end_date: UnixTimestamp
Trait Implementations§
source§impl BorshDeserialize for CreateDropInstructionwhere
u64: BorshDeserialize,
UnixTimestamp: BorshDeserialize,
impl BorshDeserialize for CreateDropInstructionwhere u64: BorshDeserialize, UnixTimestamp: BorshDeserialize,
source§impl BorshSerialize for CreateDropInstructionwhere
u64: BorshSerialize,
UnixTimestamp: BorshSerialize,
impl BorshSerialize for CreateDropInstructionwhere u64: BorshSerialize, UnixTimestamp: BorshSerialize,
Auto Trait Implementations§
impl RefUnwindSafe for CreateDropInstruction
impl Send for CreateDropInstruction
impl Sync for CreateDropInstruction
impl Unpin for CreateDropInstruction
impl UnwindSafe for CreateDropInstruction
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