Struct phoenix::program::ReduceOrderParams
source · pub struct ReduceOrderParams {
pub base_params: CancelOrderParams,
pub size: u64,
}Fields§
§base_params: CancelOrderParams§size: u64Size of the order to reduce in base lots
Trait Implementations§
source§impl BorshDeserialize for ReduceOrderParamswhere
CancelOrderParams: BorshDeserialize,
u64: BorshDeserialize,
impl BorshDeserialize for ReduceOrderParamswhere CancelOrderParams: BorshDeserialize, u64: BorshDeserialize,
source§impl BorshSerialize for ReduceOrderParamswhere
CancelOrderParams: BorshSerialize,
u64: BorshSerialize,
impl BorshSerialize for ReduceOrderParamswhere CancelOrderParams: BorshSerialize, u64: BorshSerialize,
source§impl Clone for ReduceOrderParams
impl Clone for ReduceOrderParams
source§fn clone(&self) -> ReduceOrderParams
fn clone(&self) -> ReduceOrderParams
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ReduceOrderParams
Auto Trait Implementations§
impl RefUnwindSafe for ReduceOrderParams
impl Send for ReduceOrderParams
impl Sync for ReduceOrderParams
impl Unpin for ReduceOrderParams
impl UnwindSafe for ReduceOrderParams
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