pub struct AggTradeParams {
pub symbol: String,
pub id: Option<String>,
}Expand description
Request parameters for the [agg_trade] operation.
This struct holds all of the inputs you can pass when calling
agg_trade.
Fields§
§symbol: StringSymbol to query
This field is **required.
id: Option<String>Unique WebSocket request ID.
This field is **optional.
Implementations§
Source§impl AggTradeParams
impl AggTradeParams
Sourcepub fn builder(symbol: String) -> AggTradeParamsBuilder
pub fn builder(symbol: String) -> AggTradeParamsBuilder
Create a builder for [agg_trade].
Required parameters:
symbol— Symbol to query
Trait Implementations§
Source§impl Clone for AggTradeParams
impl Clone for AggTradeParams
Source§fn clone(&self) -> AggTradeParams
fn clone(&self) -> AggTradeParams
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 AggTradeParams
impl RefUnwindSafe for AggTradeParams
impl Send for AggTradeParams
impl Sync for AggTradeParams
impl Unpin for AggTradeParams
impl UnsafeUnpin for AggTradeParams
impl UnwindSafe for AggTradeParams
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