pub struct GetTradesParams {
pub category: Category,
pub symbol: Option<String>,
pub base_coin: Option<String>,
pub option_type: Option<u64>,
pub limit: Option<u64>,
}Fields§
§category: Category§symbol: Option<String>required for spot/linear/inverse optional for option
base_coin: Option<String>Apply to option only If the field is not passed, return BTC data by default
option_type: Option<u64>optionType false string Option type. Call or Put. Apply to option only
limit: Option<u64>spot: [1,60], default: 60 others: [1,1000], default: 500
Trait Implementations§
Source§impl Debug for GetTradesParams
impl Debug for GetTradesParams
Auto Trait Implementations§
impl Freeze for GetTradesParams
impl RefUnwindSafe for GetTradesParams
impl Send for GetTradesParams
impl Sync for GetTradesParams
impl Unpin for GetTradesParams
impl UnsafeUnpin for GetTradesParams
impl UnwindSafe for GetTradesParams
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