pub struct GetStockBySymbolRequest {
pub query: GetStockBySymbolRequestQuery,
}Expand description
Returns an object contains all stock contracts for given symbol(s)
Fields§
§query: GetStockBySymbolRequestQueryImplementations§
Source§impl GetStockBySymbolRequest
impl GetStockBySymbolRequest
Sourcepub async fn parse_response(req: Response) -> Result<GetStockBySymbolResponse>
pub async fn parse_response(req: Response) -> Result<GetStockBySymbolResponse>
Parse the HTTP response into the response enum.
Trait Implementations§
Source§impl Clone for GetStockBySymbolRequest
impl Clone for GetStockBySymbolRequest
Source§fn clone(&self) -> GetStockBySymbolRequest
fn clone(&self) -> GetStockBySymbolRequest
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 GetStockBySymbolRequest
impl Debug for GetStockBySymbolRequest
Source§impl Default for GetStockBySymbolRequest
impl Default for GetStockBySymbolRequest
Source§impl Validate for GetStockBySymbolRequest
impl Validate for GetStockBySymbolRequest
Source§impl<'v_a> ValidateArgs<'v_a> for GetStockBySymbolRequest
impl<'v_a> ValidateArgs<'v_a> for GetStockBySymbolRequest
Auto Trait Implementations§
impl Freeze for GetStockBySymbolRequest
impl RefUnwindSafe for GetStockBySymbolRequest
impl Send for GetStockBySymbolRequest
impl Sync for GetStockBySymbolRequest
impl Unpin for GetStockBySymbolRequest
impl UnsafeUnpin for GetStockBySymbolRequest
impl UnwindSafe for GetStockBySymbolRequest
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