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