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