pub struct MarketInfo {
pub event_title: String,
pub event_slug: String,
pub market_question: String,
pub market_id: String,
pub asset_id: String,
pub outcomes: Vec<String>,
pub prices: Vec<String>,
}Fields§
§event_title: String§event_slug: String§market_question: String§market_id: String§asset_id: String§outcomes: Vec<String>§prices: Vec<String>Trait Implementations§
Source§impl Clone for MarketInfo
impl Clone for MarketInfo
Source§fn clone(&self) -> MarketInfo
fn clone(&self) -> MarketInfo
Returns a duplicate of the value. Read more
1.0.0 · 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 MarketInfo
impl Debug for MarketInfo
Source§impl<'de> Deserialize<'de> for MarketInfo
impl<'de> Deserialize<'de> for MarketInfo
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 MarketInfo
impl RefUnwindSafe for MarketInfo
impl Send for MarketInfo
impl Sync for MarketInfo
impl Unpin for MarketInfo
impl UnwindSafe for MarketInfo
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