Struct serum_dex::instruction::SendTakeInstruction
source · [−]pub struct SendTakeInstruction {
pub side: Side,
pub limit_price: NonZeroU64,
pub max_coin_qty: NonZeroU64,
pub max_native_pc_qty_including_fees: NonZeroU64,
pub min_coin_qty: u64,
pub min_native_pc_qty: u64,
pub limit: u16,
}
Fields
side: Side
limit_price: NonZeroU64
max_coin_qty: NonZeroU64
max_native_pc_qty_including_fees: NonZeroU64
min_coin_qty: u64
min_native_pc_qty: 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 SendTakeInstruction
impl Send for SendTakeInstruction
impl Sync for SendTakeInstruction
impl Unpin for SendTakeInstruction
impl UnwindSafe for SendTakeInstruction
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