pub enum GetStocksResponse {
ApiError(Box<ApiError>),
Stocks(Box<Stocks>),
Text(String),
}Variants§
ApiError(Box<ApiError>)
Stocks(Box<Stocks>)
Text(String)
String variant for text/* content types (e.g., text/csv, text/plain)
Trait Implementations§
Source§impl Clone for GetStocksResponse
impl Clone for GetStocksResponse
Source§fn clone(&self) -> GetStocksResponse
fn clone(&self) -> GetStocksResponse
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 GetStocksResponse
impl Debug for GetStocksResponse
Source§impl Default for GetStocksResponse
impl Default for GetStocksResponse
Source§impl<'de> Deserialize<'de> for GetStocksResponse
impl<'de> Deserialize<'de> for GetStocksResponse
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 GetStocksResponse
impl PartialEq for GetStocksResponse
Source§impl Serialize for GetStocksResponse
impl Serialize for GetStocksResponse
impl StructuralPartialEq for GetStocksResponse
Auto Trait Implementations§
impl Freeze for GetStocksResponse
impl RefUnwindSafe for GetStocksResponse
impl Send for GetStocksResponse
impl Sync for GetStocksResponse
impl Unpin for GetStocksResponse
impl UnwindSafe for GetStocksResponse
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