Struct serum_dex::instruction::NewOrderInstructionV1 [−][src]
pub struct NewOrderInstructionV1 { pub side: Side, pub limit_price: NonZeroU64, pub max_qty: NonZeroU64, pub order_type: OrderType, pub client_id: u64, }
Fields
side: Side
limit_price: NonZeroU64
max_qty: NonZeroU64
order_type: OrderType
client_id: u64
Implementations
pub fn add_self_trade_behavior(
self,
self_trade_behavior: SelfTradeBehavior
) -> NewOrderInstructionV2
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 NewOrderInstructionV1
impl Send for NewOrderInstructionV1
impl Sync for NewOrderInstructionV1
impl Unpin for NewOrderInstructionV1
impl UnwindSafe for NewOrderInstructionV1
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