pub struct GetPositionInfoParams {
pub category: Category,
pub symbol: Option<String>,
pub base_coin: Option<String>,
pub settle_coin: Option<String>,
pub limit: Option<u32>,
pub cursor: Option<String>,
}Expand description
Parameters for getting position info.
Fields§
§category: CategoryProduct category.
symbol: Option<String>Trading symbol.
base_coin: Option<String>Base coin filter.
settle_coin: Option<String>Settle coin filter.
limit: Option<u32>Limit.
cursor: Option<String>Cursor for pagination.
Implementations§
Source§impl GetPositionInfoParams
impl GetPositionInfoParams
Sourcepub fn settle_coin(self, coin: impl Into<String>) -> Self
pub fn settle_coin(self, coin: impl Into<String>) -> Self
Set settle coin filter.
Trait Implementations§
Source§impl Clone for GetPositionInfoParams
impl Clone for GetPositionInfoParams
Source§fn clone(&self) -> GetPositionInfoParams
fn clone(&self) -> GetPositionInfoParams
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 Debug for GetPositionInfoParams
impl Debug for GetPositionInfoParams
Auto Trait Implementations§
impl Freeze for GetPositionInfoParams
impl RefUnwindSafe for GetPositionInfoParams
impl Send for GetPositionInfoParams
impl Sync for GetPositionInfoParams
impl Unpin for GetPositionInfoParams
impl UnwindSafe for GetPositionInfoParams
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