pub struct GetFuturesPositionRiskOfSubAccountV2Params {
pub email: String,
pub futures_type: i64,
pub recv_window: Option<i64>,
}Expand description
Request parameters for the [get_futures_position_risk_of_sub_account_v2] operation.
This struct holds all of the inputs you can pass when calling
get_futures_position_risk_of_sub_account_v2.
Fields§
§email: StringThis field is **required.
futures_type: i641:USDT-margined Futures,2: Coin-margined Futures
This field is **required.
recv_window: Option<i64>The recv_window parameter.
This field is **optional.
Implementations§
Source§impl GetFuturesPositionRiskOfSubAccountV2Params
impl GetFuturesPositionRiskOfSubAccountV2Params
Sourcepub fn builder(
email: String,
futures_type: i64,
) -> GetFuturesPositionRiskOfSubAccountV2ParamsBuilder
pub fn builder( email: String, futures_type: i64, ) -> GetFuturesPositionRiskOfSubAccountV2ParamsBuilder
Create a builder for [get_futures_position_risk_of_sub_account_v2].
Required parameters:
email— Sub-account emailfutures_type— 1:USDT-margined Futures,2: Coin-margined Futures
Trait Implementations§
Source§impl Clone for GetFuturesPositionRiskOfSubAccountV2Params
impl Clone for GetFuturesPositionRiskOfSubAccountV2Params
Source§fn clone(&self) -> GetFuturesPositionRiskOfSubAccountV2Params
fn clone(&self) -> GetFuturesPositionRiskOfSubAccountV2Params
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 moreAuto Trait Implementations§
impl Freeze for GetFuturesPositionRiskOfSubAccountV2Params
impl RefUnwindSafe for GetFuturesPositionRiskOfSubAccountV2Params
impl Send for GetFuturesPositionRiskOfSubAccountV2Params
impl Sync for GetFuturesPositionRiskOfSubAccountV2Params
impl Unpin for GetFuturesPositionRiskOfSubAccountV2Params
impl UnsafeUnpin for GetFuturesPositionRiskOfSubAccountV2Params
impl UnwindSafe for GetFuturesPositionRiskOfSubAccountV2Params
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