pub struct SearchRequestBody {
pub fund: Option<bool>,
pub fund_family_conid_ex: Option<String>,
pub more: Option<bool>,
pub name: Option<bool>,
pub pattern: Option<bool>,
pub referrer: Option<String>,
pub sec_type: Option<GetContractSymbolsRequestQuerySecType>,
pub symbol: String,
}Fields§
§fund: Option<bool>fund search
fund_family_conid_ex: Option<String>§more: Option<bool>§name: Option<bool>Denotes if the symbol value is the ticker symbol or part of the company’s name.
pattern: Option<bool>pattern search
referrer: Option<String>§sec_type: Option<GetContractSymbolsRequestQuerySecType>Available underlying security types:
STK- Represents an underlying as a Stock security type.IND- Represents an underlying as an Index security type.BOND- Represents an underlying as a Bond security type.
symbol: StringThe ticker symbol, bond issuer type, or company name of the equity you are looking to trade.
- Example:
"AAPL".to_string()
Trait Implementations§
Source§impl Clone for SearchRequestBody
impl Clone for SearchRequestBody
Source§fn clone(&self) -> SearchRequestBody
fn clone(&self) -> SearchRequestBody
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 SearchRequestBody
impl Debug for SearchRequestBody
Source§impl Default for SearchRequestBody
impl Default for SearchRequestBody
Source§impl PartialEq for SearchRequestBody
impl PartialEq for SearchRequestBody
Source§impl Serialize for SearchRequestBody
impl Serialize for SearchRequestBody
Source§impl<'v_a> ValidateArgs<'v_a> for SearchRequestBody
impl<'v_a> ValidateArgs<'v_a> for SearchRequestBody
impl StructuralPartialEq for SearchRequestBody
Auto Trait Implementations§
impl Freeze for SearchRequestBody
impl RefUnwindSafe for SearchRequestBody
impl Send for SearchRequestBody
impl Sync for SearchRequestBody
impl Unpin for SearchRequestBody
impl UnsafeUnpin for SearchRequestBody
impl UnwindSafe for SearchRequestBody
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