pub struct LimitExecutionResponseDetails {
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,
pub time_in_force: TimeInForce,
pub limit_price: String,
}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 limit orders
time_in_force: TimeInForce§limit_price: StringPrice for limit orders
Implementations§
Source§impl LimitExecutionResponseDetails
impl LimitExecutionResponseDetails
pub fn new( side: Side, base_amount: String, base_asset_id: String, quote_asset_id: String, type: Type, time_in_force: TimeInForce, limit_price: String, ) -> LimitExecutionResponseDetails
Trait Implementations§
Source§impl Clone for LimitExecutionResponseDetails
impl Clone for LimitExecutionResponseDetails
Source§fn clone(&self) -> LimitExecutionResponseDetails
fn clone(&self) -> LimitExecutionResponseDetails
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 LimitExecutionResponseDetails
impl Default for LimitExecutionResponseDetails
Source§fn default() -> LimitExecutionResponseDetails
fn default() -> LimitExecutionResponseDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LimitExecutionResponseDetails
impl<'de> Deserialize<'de> for LimitExecutionResponseDetails
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 LimitExecutionResponseDetails
impl PartialEq for LimitExecutionResponseDetails
Source§fn eq(&self, other: &LimitExecutionResponseDetails) -> bool
fn eq(&self, other: &LimitExecutionResponseDetails) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LimitExecutionResponseDetails
Auto Trait Implementations§
impl Freeze for LimitExecutionResponseDetails
impl RefUnwindSafe for LimitExecutionResponseDetails
impl Send for LimitExecutionResponseDetails
impl Sync for LimitExecutionResponseDetails
impl Unpin for LimitExecutionResponseDetails
impl UnwindSafe for LimitExecutionResponseDetails
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