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