pub struct GetMdHistoryRequest {
pub query: GetMdHistoryRequestQuery,
}Expand description
Request historical data for an instrument in the form of OHLC bars.
Fields§
§query: GetMdHistoryRequestQueryImplementations§
Source§impl GetMdHistoryRequest
impl GetMdHistoryRequest
Sourcepub async fn parse_response(req: Response) -> Result<GetMdHistoryResponse>
pub async fn parse_response(req: Response) -> Result<GetMdHistoryResponse>
Parse the HTTP response into the response enum.
Trait Implementations§
Source§impl Clone for GetMdHistoryRequest
impl Clone for GetMdHistoryRequest
Source§fn clone(&self) -> GetMdHistoryRequest
fn clone(&self) -> GetMdHistoryRequest
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 GetMdHistoryRequest
impl Debug for GetMdHistoryRequest
Source§impl Default for GetMdHistoryRequest
impl Default for GetMdHistoryRequest
Source§impl Validate for GetMdHistoryRequest
impl Validate for GetMdHistoryRequest
Source§impl<'v_a> ValidateArgs<'v_a> for GetMdHistoryRequest
impl<'v_a> ValidateArgs<'v_a> for GetMdHistoryRequest
Auto Trait Implementations§
impl Freeze for GetMdHistoryRequest
impl RefUnwindSafe for GetMdHistoryRequest
impl Send for GetMdHistoryRequest
impl Sync for GetMdHistoryRequest
impl Unpin for GetMdHistoryRequest
impl UnsafeUnpin for GetMdHistoryRequest
impl UnwindSafe for GetMdHistoryRequest
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