pub struct GetMdSnapshotRequest {
pub query: GetMdSnapshotRequestQuery,
}Expand description
Get Market Data for the given conid(s). A pre-flight request must be made prior to ever receiving data. For some fields, it may take more than a few moments to receive information. See response fields for a list of available fields that can be request via fields argument. The endpoint /iserver/accounts must be called prior to /iserver/marketdata/snapshot. For derivative contracts the endpoint /iserver/secdef/search must be called first.
Fields§
§query: GetMdSnapshotRequestQueryImplementations§
Source§impl GetMdSnapshotRequest
impl GetMdSnapshotRequest
Sourcepub async fn parse_response(req: Response) -> Result<GetMdSnapshotResponse>
pub async fn parse_response(req: Response) -> Result<GetMdSnapshotResponse>
Parse the HTTP response into the response enum.
Trait Implementations§
Source§impl Clone for GetMdSnapshotRequest
impl Clone for GetMdSnapshotRequest
Source§fn clone(&self) -> GetMdSnapshotRequest
fn clone(&self) -> GetMdSnapshotRequest
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 GetMdSnapshotRequest
impl Debug for GetMdSnapshotRequest
Source§impl Default for GetMdSnapshotRequest
impl Default for GetMdSnapshotRequest
Source§impl Validate for GetMdSnapshotRequest
impl Validate for GetMdSnapshotRequest
Source§impl<'v_a> ValidateArgs<'v_a> for GetMdSnapshotRequest
impl<'v_a> ValidateArgs<'v_a> for GetMdSnapshotRequest
Auto Trait Implementations§
impl Freeze for GetMdSnapshotRequest
impl RefUnwindSafe for GetMdSnapshotRequest
impl Send for GetMdSnapshotRequest
impl Sync for GetMdSnapshotRequest
impl Unpin for GetMdSnapshotRequest
impl UnsafeUnpin for GetMdSnapshotRequest
impl UnwindSafe for GetMdSnapshotRequest
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