pub struct TradeHistoryRequest<'a> {
pub category: Category,
pub symbol: Option<Cow<'a, str>>,
pub order_id: Option<Cow<'a, str>>,
pub order_link_id: Option<Cow<'a, str>>,
pub base_coin: Option<Cow<'a, str>>,
pub start_time: Option<Cow<'a, str>>,
pub end_time: Option<Cow<'a, str>>,
pub exec_type: Option<Cow<'a, str>>,
pub limit: Option<u64>,
}Fields§
§category: Category§symbol: Option<Cow<'a, str>>§order_id: Option<Cow<'a, str>>§order_link_id: Option<Cow<'a, str>>§base_coin: Option<Cow<'a, str>>§start_time: Option<Cow<'a, str>>§end_time: Option<Cow<'a, str>>§exec_type: Option<Cow<'a, str>>§limit: Option<u64>Implementations§
Source§impl<'a> TradeHistoryRequest<'a>
impl<'a> TradeHistoryRequest<'a>
pub fn default() -> TradeHistoryRequest<'a>
pub fn new( category: Category, symbol: Option<&'a str>, order_id: Option<&'a str>, order_link_id: Option<&'a str>, base_coin: Option<&'a str>, start_time: Option<&'a str>, end_time: Option<&'a str>, exec_type: Option<&'a str>, limit: Option<u64>, ) -> TradeHistoryRequest<'a>
Trait Implementations§
Source§impl<'a> Clone for TradeHistoryRequest<'a>
impl<'a> Clone for TradeHistoryRequest<'a>
Source§fn clone(&self) -> TradeHistoryRequest<'a>
fn clone(&self) -> TradeHistoryRequest<'a>
Returns a copy 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<'a> Default for TradeHistoryRequest<'a>
impl<'a> Default for TradeHistoryRequest<'a>
Source§fn default() -> TradeHistoryRequest<'a>
fn default() -> TradeHistoryRequest<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for TradeHistoryRequest<'a>
impl<'a> RefUnwindSafe for TradeHistoryRequest<'a>
impl<'a> Send for TradeHistoryRequest<'a>
impl<'a> Sync for TradeHistoryRequest<'a>
impl<'a> Unpin for TradeHistoryRequest<'a>
impl<'a> UnwindSafe for TradeHistoryRequest<'a>
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