Struct serum_dex::instruction::NewOrderInstructionV2 [−][src]
pub struct NewOrderInstructionV2 { pub side: Side, pub limit_price: NonZeroU64, pub max_qty: NonZeroU64, pub order_type: OrderType, pub client_id: u64, pub self_trade_behavior: SelfTradeBehavior, }
Fields
side: Side
limit_price: NonZeroU64
max_qty: NonZeroU64
order_type: OrderType
client_id: u64
self_trade_behavior: SelfTradeBehavior
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 NewOrderInstructionV2
impl Send for NewOrderInstructionV2
impl Sync for NewOrderInstructionV2
impl Unpin for NewOrderInstructionV2
impl UnwindSafe for NewOrderInstructionV2
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
type Output = T
type Output = T
Should always be Self