pub struct MarketDataError {
pub error: Option<MarketDataErrorDetail>,
pub errors: Vec<MarketDataErrorDetail>,
}Expand description
The error part of a market data frame.
Either error (one) or errors (a list) can be set. The broker docs show the list.
Fields§
§error: Option<MarketDataErrorDetail>A single error, if the frame has one.
errors: Vec<MarketDataErrorDetail>The errors of the frame. Empty if there are none.
Trait Implementations§
Source§impl Clone for MarketDataError
impl Clone for MarketDataError
Source§fn clone(&self) -> MarketDataError
fn clone(&self) -> MarketDataError
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 Debug for MarketDataError
impl Debug for MarketDataError
Source§impl<'de> Deserialize<'de> for MarketDataError
impl<'de> Deserialize<'de> for MarketDataError
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 MarketDataError
impl RefUnwindSafe for MarketDataError
impl Send for MarketDataError
impl Sync for MarketDataError
impl Unpin for MarketDataError
impl UnsafeUnpin for MarketDataError
impl UnwindSafe for MarketDataError
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