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>Client-generated request identifier.
This field is **optional.
limit: Option<i32>The limit parameter.
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 moreSource§impl Debug for TradesRecentParams
impl Debug for TradesRecentParams
Source§impl<'de> Deserialize<'de> for TradesRecentParams
impl<'de> Deserialize<'de> for TradesRecentParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto 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