pub struct UsMarket {Show 14 fields
pub id: String,
pub slug: String,
pub question: String,
pub status: String,
pub category: String,
pub start_date: String,
pub end_date: String,
pub description: String,
pub active: bool,
pub closed: bool,
pub market_type: String,
pub market_sides: Vec<Value>,
pub instruments: Vec<Value>,
pub outcomes: Vec<Value>,
}Fields§
§id: String§slug: String§question: String§status: String§category: String§start_date: String§end_date: String§description: String§active: bool§closed: bool§market_type: String§market_sides: Vec<Value>§instruments: Vec<Value>§outcomes: Vec<Value>Trait Implementations§
Source§impl<'de> Deserialize<'de> for UsMarket
impl<'de> Deserialize<'de> for UsMarket
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 UsMarket
impl RefUnwindSafe for UsMarket
impl Send for UsMarket
impl Sync for UsMarket
impl Unpin for UsMarket
impl UnsafeUnpin for UsMarket
impl UnwindSafe for UsMarket
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