pub struct ReferencePriceCalculationResponse {
pub symbol: Option<String>,
pub calculation_type: Option<String>,
pub bucket_count: Option<i64>,
pub bucket_width_ms: Option<i64>,
pub external_calculation_id: Option<i64>,
}Fields§
§symbol: Option<String>§calculation_type: Option<String>Either ARITHMETIC_MEAN or EXTERNAL.
bucket_count: Option<i64>Present when calculationType is ARITHMETIC_MEAN.
bucket_width_ms: Option<i64>Present when calculationType is ARITHMETIC_MEAN.
external_calculation_id: Option<i64>Present when calculationType is EXTERNAL.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ReferencePriceCalculationResponse
impl<'de> Deserialize<'de> for ReferencePriceCalculationResponse
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
impl StructuralPartialEq for ReferencePriceCalculationResponse
Auto Trait Implementations§
impl Freeze for ReferencePriceCalculationResponse
impl RefUnwindSafe for ReferencePriceCalculationResponse
impl Send for ReferencePriceCalculationResponse
impl Sync for ReferencePriceCalculationResponse
impl Unpin for ReferencePriceCalculationResponse
impl UnsafeUnpin for ReferencePriceCalculationResponse
impl UnwindSafe for ReferencePriceCalculationResponse
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