pub struct ForecastMarketResponse {
pub contracts: Option<Vec<ForecastMarketResponseContract>>,
pub exchange: Option<String>,
pub exclude_historical_data: Option<bool>,
pub logo_category: Option<String>,
pub market_name: Option<String>,
pub payout: Option<f64>,
pub symbol: Option<String>,
}Fields§
§contracts: Option<Vec<ForecastMarketResponseContract>>List of contracts matching the requested market.
exchange: Option<String>Exchange that was passed in request or determined internally.
exclude_historical_data: Option<bool>Indicates whether UI should or should not display underlying chart.
logo_category: Option<String>Logo category to use in logo service to retrieve image.
market_name: Option<String>Market contract identifier.
payout: Option<f64>Ratio of payout scaling.
symbol: Option<String>Market symbol.
Trait Implementations§
Source§impl Clone for ForecastMarketResponse
impl Clone for ForecastMarketResponse
Source§fn clone(&self) -> ForecastMarketResponse
fn clone(&self) -> ForecastMarketResponse
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 ForecastMarketResponse
impl Debug for ForecastMarketResponse
Source§impl Default for ForecastMarketResponse
impl Default for ForecastMarketResponse
Source§impl<'de> Deserialize<'de> for ForecastMarketResponse
impl<'de> Deserialize<'de> for ForecastMarketResponse
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 ForecastMarketResponse
impl PartialEq for ForecastMarketResponse
impl StructuralPartialEq for ForecastMarketResponse
Auto Trait Implementations§
impl Freeze for ForecastMarketResponse
impl RefUnwindSafe for ForecastMarketResponse
impl Send for ForecastMarketResponse
impl Sync for ForecastMarketResponse
impl Unpin for ForecastMarketResponse
impl UnsafeUnpin for ForecastMarketResponse
impl UnwindSafe for ForecastMarketResponse
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