pub struct BatchCloseAllRequest {
pub slippage_tolerance_bps: Option<i32>,
pub trading_pair_id: Option<Uuid>,
}Expand description
BatchCloseAllRequest
JSON schema
{
"type": "object",
"properties": {
"slippageToleranceBps": {
"description": "Optional slippage tolerance (basis points) applied to each MARKET close.",
"type": [
"integer",
"null"
],
"format": "int32"
},
"tradingPairId": {
"description": "Optional trading-pair filter. When set, only open positions on this\n trading pair are closed; otherwise every open position is closed.",
"type": [
"string",
"null"
],
"format": "uuid"
}
}
}Fields§
§slippage_tolerance_bps: Option<i32>Optional slippage tolerance (basis points) applied to each MARKET close.
trading_pair_id: Option<Uuid>Optional trading-pair filter. When set, only open positions on this trading pair are closed; otherwise every open position is closed.
Trait Implementations§
Source§impl Clone for BatchCloseAllRequest
impl Clone for BatchCloseAllRequest
Source§fn clone(&self) -> BatchCloseAllRequest
fn clone(&self) -> BatchCloseAllRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BatchCloseAllRequest
impl Debug for BatchCloseAllRequest
Source§impl Default for BatchCloseAllRequest
impl Default for BatchCloseAllRequest
Source§impl<'de> Deserialize<'de> for BatchCloseAllRequest
impl<'de> Deserialize<'de> for BatchCloseAllRequest
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
Auto Trait Implementations§
impl Freeze for BatchCloseAllRequest
impl RefUnwindSafe for BatchCloseAllRequest
impl Send for BatchCloseAllRequest
impl Sync for BatchCloseAllRequest
impl Unpin for BatchCloseAllRequest
impl UnsafeUnpin for BatchCloseAllRequest
impl UnwindSafe for BatchCloseAllRequest
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