pub struct ReferencePriceCalculationParams {
pub symbol: 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.
symbol_status: Option<ReferencePriceCalculationSymbolStatusEnum>Supported values: TRADING, HALT, BREAK
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 moreSource§impl<'de> Deserialize<'de> for ReferencePriceCalculationParams
impl<'de> Deserialize<'de> for ReferencePriceCalculationParams
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 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