pub struct MarketExecutionRequestDetails {
pub side: Side,
pub base_amount: String,
pub base_asset_id: String,
pub base_asset_rail: Option<TransferRail>,
pub quote_asset_id: String,
pub quote_asset_rail: Option<TransferRail>,
pub type: Type,
}Fields§
§side: SideSide of the order
base_amount: StringAmount to convert
base_asset_id: StringSource asset identifier
base_asset_rail: Option<TransferRail>§quote_asset_id: StringTarget asset identifier
quote_asset_rail: Option<TransferRail>§type: TypeOrder type for market orders
Implementations§
Trait Implementations§
Source§impl Clone for MarketExecutionRequestDetails
impl Clone for MarketExecutionRequestDetails
Source§fn clone(&self) -> MarketExecutionRequestDetails
fn clone(&self) -> MarketExecutionRequestDetails
Returns a duplicate 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 Default for MarketExecutionRequestDetails
impl Default for MarketExecutionRequestDetails
Source§fn default() -> MarketExecutionRequestDetails
fn default() -> MarketExecutionRequestDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MarketExecutionRequestDetails
impl<'de> Deserialize<'de> for MarketExecutionRequestDetails
Source§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
Source§impl PartialEq for MarketExecutionRequestDetails
impl PartialEq for MarketExecutionRequestDetails
Source§fn eq(&self, other: &MarketExecutionRequestDetails) -> bool
fn eq(&self, other: &MarketExecutionRequestDetails) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MarketExecutionRequestDetails
Auto Trait Implementations§
impl Freeze for MarketExecutionRequestDetails
impl RefUnwindSafe for MarketExecutionRequestDetails
impl Send for MarketExecutionRequestDetails
impl Sync for MarketExecutionRequestDetails
impl Unpin for MarketExecutionRequestDetails
impl UnwindSafe for MarketExecutionRequestDetails
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more