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>Client-generated request identifier.
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 moreSource§impl Debug for AvgPriceParams
impl Debug for AvgPriceParams
Source§impl<'de> Deserialize<'de> for AvgPriceParams
impl<'de> Deserialize<'de> for AvgPriceParams
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 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