pub struct MarketExecutionResponseDetails {
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 MarketExecutionResponseDetails
impl Clone for MarketExecutionResponseDetails
Source§fn clone(&self) -> MarketExecutionResponseDetails
fn clone(&self) -> MarketExecutionResponseDetails
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 MarketExecutionResponseDetails
impl Default for MarketExecutionResponseDetails
Source§fn default() -> MarketExecutionResponseDetails
fn default() -> MarketExecutionResponseDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MarketExecutionResponseDetails
impl<'de> Deserialize<'de> for MarketExecutionResponseDetails
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 MarketExecutionResponseDetails
impl PartialEq for MarketExecutionResponseDetails
Source§fn eq(&self, other: &MarketExecutionResponseDetails) -> bool
fn eq(&self, other: &MarketExecutionResponseDetails) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MarketExecutionResponseDetails
Auto Trait Implementations§
impl Freeze for MarketExecutionResponseDetails
impl RefUnwindSafe for MarketExecutionResponseDetails
impl Send for MarketExecutionResponseDetails
impl Sync for MarketExecutionResponseDetails
impl Unpin for MarketExecutionResponseDetails
impl UnwindSafe for MarketExecutionResponseDetails
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