pub struct TradesAggregateParams {
pub symbol: String,
pub id: Option<String>,
pub from_id: Option<i64>,
pub start_time: Option<i64>,
pub end_time: Option<i64>,
pub limit: Option<i64>,
}Expand description
Request parameters for the [trades_aggregate] operation.
This struct holds all of the inputs you can pass when calling
trades_aggregate.
Fields§
§symbol: StringThe symbol parameter.
This field is **required.
id: Option<String>Unique WebSocket request ID.
This field is **optional.
from_id: Option<i64>Aggregate trade ID to begin at
This field is **optional.
start_time: Option<i64>The start_time parameter.
This field is **optional.
end_time: Option<i64>The end_time parameter.
This field is **optional.
limit: Option<i64>Default: 500; Maximum: 1000
This field is **optional.
Implementations§
Source§impl TradesAggregateParams
impl TradesAggregateParams
Sourcepub fn builder(symbol: String) -> TradesAggregateParamsBuilder
pub fn builder(symbol: String) -> TradesAggregateParamsBuilder
Create a builder for [trades_aggregate].
Required parameters:
symbol— String
Trait Implementations§
Source§impl Clone for TradesAggregateParams
impl Clone for TradesAggregateParams
Source§fn clone(&self) -> TradesAggregateParams
fn clone(&self) -> TradesAggregateParams
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 TradesAggregateParams
impl RefUnwindSafe for TradesAggregateParams
impl Send for TradesAggregateParams
impl Sync for TradesAggregateParams
impl Unpin for TradesAggregateParams
impl UnsafeUnpin for TradesAggregateParams
impl UnwindSafe for TradesAggregateParams
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