pub struct ForecastDetailsResponse {Show 15 fields
pub category: Option<String>,
pub conid_no: Option<i32>,
pub conid_yes: Option<i32>,
pub exchange: Option<String>,
pub expiration: Option<String>,
pub logo_category: Option<String>,
pub market_name: Option<String>,
pub measured_period: Option<String>,
pub payout: Option<f64>,
pub question: Option<String>,
pub side: Option<String>,
pub strike: Option<f64>,
pub strike_label: Option<String>,
pub symbol: Option<String>,
pub underlying_conid: Option<i32>,
}Fields§
§category: Option<String>The affiliated market category declared in /forecast/category/tree.
conid_no: Option<i32>Contract identifier of “no” contract
conid_yes: Option<i32>Contract identifier of “yes” contract
exchange: Option<String>Contract exchange.
expiration: Option<String>Contract expiration date in YYYYMMDD format.
logo_category: Option<String>Logo category to use in logo service to get image.
market_name: Option<String>name of contract’s market.
measured_period: Option<String>measured period
payout: Option<f64>Ratio of payout scaling.
question: Option<String>Contract question (i.e. “Will this happen on this date?”)
side: Option<String>“Y” or “N”, yes or no contract.
strike: Option<f64>Contract strike.
strike_label: Option<String>Strike label to display.
symbol: Option<String>Contract symbol.
underlying_conid: Option<i32>Immediate underlier to contract (i.e. future conid for FOPs)
Trait Implementations§
Source§impl Clone for ForecastDetailsResponse
impl Clone for ForecastDetailsResponse
Source§fn clone(&self) -> ForecastDetailsResponse
fn clone(&self) -> ForecastDetailsResponse
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 ForecastDetailsResponse
impl Debug for ForecastDetailsResponse
Source§impl Default for ForecastDetailsResponse
impl Default for ForecastDetailsResponse
Source§impl<'de> Deserialize<'de> for ForecastDetailsResponse
impl<'de> Deserialize<'de> for ForecastDetailsResponse
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 ForecastDetailsResponse
impl PartialEq for ForecastDetailsResponse
impl StructuralPartialEq for ForecastDetailsResponse
Auto Trait Implementations§
impl Freeze for ForecastDetailsResponse
impl RefUnwindSafe for ForecastDetailsResponse
impl Send for ForecastDetailsResponse
impl Sync for ForecastDetailsResponse
impl Unpin for ForecastDetailsResponse
impl UnsafeUnpin for ForecastDetailsResponse
impl UnwindSafe for ForecastDetailsResponse
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T> ServiceExt for T
impl<T> ServiceExt for T
§fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
High level tracing that classifies responses using HTTP status codes. Read more
§fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
High level tracing that classifies responses using gRPC headers. Read more
§fn follow_redirects(self) -> FollowRedirect<Self>where
Self: Sized,
fn follow_redirects(self) -> FollowRedirect<Self>where
Self: Sized,
§fn set_request_id<M>(
self,
header_name: HeaderName,
make_request_id: M,
) -> SetRequestId<Self, M>where
Self: Sized,
M: MakeRequestId,
fn set_request_id<M>(
self,
header_name: HeaderName,
make_request_id: M,
) -> SetRequestId<Self, M>where
Self: Sized,
M: MakeRequestId,
Add request id header and extension. Read more
§fn set_x_request_id<M>(self, make_request_id: M) -> SetRequestId<Self, M>where
Self: Sized,
M: MakeRequestId,
fn set_x_request_id<M>(self, make_request_id: M) -> SetRequestId<Self, M>where
Self: Sized,
M: MakeRequestId,
Add request id header and extension, using
x-request-id as the header name. Read more§fn propagate_request_id(
self,
header_name: HeaderName,
) -> PropagateRequestId<Self>where
Self: Sized,
fn propagate_request_id(
self,
header_name: HeaderName,
) -> PropagateRequestId<Self>where
Self: Sized,
Propgate request ids from requests to responses. Read more
§fn propagate_x_request_id(self) -> PropagateRequestId<Self>where
Self: Sized,
fn propagate_x_request_id(self) -> PropagateRequestId<Self>where
Self: Sized,
Propgate request ids from requests to responses, using
x-request-id as the header name. Read more§fn request_body_limit(self, limit: usize) -> RequestBodyLimit<Self>where
Self: Sized,
fn request_body_limit(self, limit: usize) -> RequestBodyLimit<Self>where
Self: Sized,
Intercept requests with over-sized payloads and convert them into
413 Payload Too Large responses. Read more