Struct serum_dex::instruction::NewOrderInstructionV3
source · [−]pub struct NewOrderInstructionV3 {
pub side: Side,
pub limit_price: NonZeroU64,
pub max_coin_qty: NonZeroU64,
pub max_native_pc_qty_including_fees: NonZeroU64,
pub self_trade_behavior: SelfTradeBehavior,
pub order_type: OrderType,
pub client_order_id: u64,
pub limit: u16,
}
Fields
side: Side
limit_price: NonZeroU64
max_coin_qty: NonZeroU64
max_native_pc_qty_including_fees: NonZeroU64
self_trade_behavior: SelfTradeBehavior
order_type: OrderType
client_order_id: u64
limit: u16
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for NewOrderInstructionV3
impl Send for NewOrderInstructionV3
impl Sync for NewOrderInstructionV3
impl Unpin for NewOrderInstructionV3
impl UnwindSafe for NewOrderInstructionV3
Blanket Implementations
pub default fn visit_for_abi(
&self,
_digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
pub default fn visit_for_abi(
&self,
digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
pub default fn example() -> T
Mutably borrows from an owned value. Read more