pub struct TradesRecentParams {
pub symbol: String,
pub id: Option<String>,
pub limit: Option<i32>,
}Expand description
Request parameters for the [trades_recent] operation.
This struct holds all of the inputs you can pass when calling
trades_recent.
Fields§
§symbol: StringThe symbol parameter.
This field is **required.
id: Option<String>Unique WebSocket request ID.
This field is **optional.
limit: Option<i32>Default: 100; Maximum: 5000
This field is **optional.
Implementations§
Source§impl TradesRecentParams
impl TradesRecentParams
Sourcepub fn builder(symbol: String) -> TradesRecentParamsBuilder
pub fn builder(symbol: String) -> TradesRecentParamsBuilder
Create a builder for [trades_recent].
Required parameters:
symbol— String
Trait Implementations§
Source§impl Clone for TradesRecentParams
impl Clone for TradesRecentParams
Source§fn clone(&self) -> TradesRecentParams
fn clone(&self) -> TradesRecentParams
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 TradesRecentParams
impl RefUnwindSafe for TradesRecentParams
impl Send for TradesRecentParams
impl Sync for TradesRecentParams
impl Unpin for TradesRecentParams
impl UnsafeUnpin for TradesRecentParams
impl UnwindSafe for TradesRecentParams
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