pub struct OptionChainReferencePriceResponse {
pub correlation_id: UUID4,
pub client_id: ClientId,
pub series_id: OptionSeriesId,
pub price: Option<Price>,
pub ts_init: UnixNanos,
pub params: Option<Params>,
}Fields§
§correlation_id: UUID4§client_id: ClientId§series_id: OptionSeriesId§price: Option<Price>§ts_init: UnixNanos§params: Option<Params>Implementations§
Source§impl OptionChainReferencePriceResponse
impl OptionChainReferencePriceResponse
Sourcepub fn new(
correlation_id: UUID4,
client_id: ClientId,
series_id: OptionSeriesId,
price: Option<Price>,
ts_init: UnixNanos,
params: Option<Params>,
) -> Self
pub fn new( correlation_id: UUID4, client_id: ClientId, series_id: OptionSeriesId, price: Option<Price>, ts_init: UnixNanos, params: Option<Params>, ) -> Self
Creates a new OptionChainReferencePriceResponse instance.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OptionChainReferencePriceResponse
impl<'de> Deserialize<'de> for OptionChainReferencePriceResponse
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 OptionChainReferencePriceResponse
impl RefUnwindSafe for OptionChainReferencePriceResponse
impl Send for OptionChainReferencePriceResponse
impl Sync for OptionChainReferencePriceResponse
impl Unpin for OptionChainReferencePriceResponse
impl UnsafeUnpin for OptionChainReferencePriceResponse
impl UnwindSafe for OptionChainReferencePriceResponse
Blanket Implementations§
impl<T> Allocation for T
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