Struct phoenix::program::withdraw::WithdrawParams
source · pub struct WithdrawParams {
pub quote_lots_to_withdraw: Option<u64>,
pub base_lots_to_withdraw: Option<u64>,
}Fields§
§quote_lots_to_withdraw: Option<u64>§base_lots_to_withdraw: Option<u64>Trait Implementations§
source§impl BorshDeserialize for WithdrawParamswhere
Option<u64>: BorshDeserialize,
impl BorshDeserialize for WithdrawParamswhere Option<u64>: BorshDeserialize,
source§impl BorshSerialize for WithdrawParamswhere
Option<u64>: BorshSerialize,
impl BorshSerialize for WithdrawParamswhere Option<u64>: BorshSerialize,
source§impl Clone for WithdrawParams
impl Clone for WithdrawParams
source§fn clone(&self) -> WithdrawParams
fn clone(&self) -> WithdrawParams
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 moresource§impl Debug for WithdrawParams
impl Debug for WithdrawParams
source§impl Default for WithdrawParams
impl Default for WithdrawParams
source§fn default() -> WithdrawParams
fn default() -> WithdrawParams
Returns the “default value” for a type. Read more
source§impl PartialEq<WithdrawParams> for WithdrawParams
impl PartialEq<WithdrawParams> for WithdrawParams
source§fn eq(&self, other: &WithdrawParams) -> bool
fn eq(&self, other: &WithdrawParams) -> bool
This method tests for
self and other values to be equal, and is used
by ==.