pub struct StreamPricingQuery {
pub instruments: Vec<InstrumentName>,
pub snapshot: Option<bool>,
pub include_home_conversions: Option<bool>,
}Expand description
stream_pricing stream query parameters.
Fields§
§instruments: Vec<InstrumentName>List of Instruments to stream Prices for. [required]
snapshot: Option<bool>Flag that enables/disables the sending of a pricing snapshot when initially connecting to the stream. [default=True]
include_home_conversions: Option<bool>Flag that enables the inclusion of the homeConversions field in the returned response. An entry will be returned for each currency in the set of all base and quote currencies present in the requested instruments list. [default=False]
Trait Implementations§
Source§impl Clone for StreamPricingQuery
impl Clone for StreamPricingQuery
Source§impl Debug for StreamPricingQuery
impl Debug for StreamPricingQuery
Source§impl<'de> Deserialize<'de> for StreamPricingQuery
impl<'de> Deserialize<'de> for StreamPricingQuery
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
Source§impl PartialEq for StreamPricingQuery
impl PartialEq for StreamPricingQuery
Source§impl Serialize for StreamPricingQuery
impl Serialize for StreamPricingQuery
impl StructuralPartialEq for StreamPricingQuery
Auto Trait Implementations§
impl Freeze for StreamPricingQuery
impl RefUnwindSafe for StreamPricingQuery
impl Send for StreamPricingQuery
impl Sync for StreamPricingQuery
impl Unpin for StreamPricingQuery
impl UnsafeUnpin for StreamPricingQuery
impl UnwindSafe for StreamPricingQuery
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