pub struct MarketDataErrorDetail {
pub code: String,
pub message: String,
}Expand description
One error of a market data frame.
The docs list these codes: NO_DATE (no data), NOT_FOUND (instrument not found), INCORRECT_JSON
(invalid JSON), BAD_REQUEST (execution error), UNAUTHORIZED (client not authorized).
Fields§
§code: StringError code, see the type docs.
message: StringText of the error.
Trait Implementations§
Source§impl Clone for MarketDataErrorDetail
impl Clone for MarketDataErrorDetail
Source§fn clone(&self) -> MarketDataErrorDetail
fn clone(&self) -> MarketDataErrorDetail
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 MarketDataErrorDetail
impl Debug for MarketDataErrorDetail
Source§impl<'de> Deserialize<'de> for MarketDataErrorDetail
impl<'de> Deserialize<'de> for MarketDataErrorDetail
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 MarketDataErrorDetail
impl RefUnwindSafe for MarketDataErrorDetail
impl Send for MarketDataErrorDetail
impl Sync for MarketDataErrorDetail
impl Unpin for MarketDataErrorDetail
impl UnsafeUnpin for MarketDataErrorDetail
impl UnwindSafe for MarketDataErrorDetail
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