pub struct LatestQuoteResponse {
pub symbol: String,
pub quote: Quote,
pub currency: Option<Currency>,
}Fields§
§symbol: String§quote: Quote§currency: Option<Currency>Trait Implementations§
Source§impl Clone for LatestQuoteResponse
impl Clone for LatestQuoteResponse
Source§fn clone(&self) -> LatestQuoteResponse
fn clone(&self) -> LatestQuoteResponse
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 LatestQuoteResponse
impl Debug for LatestQuoteResponse
Source§impl Default for LatestQuoteResponse
impl Default for LatestQuoteResponse
Source§fn default() -> LatestQuoteResponse
fn default() -> LatestQuoteResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LatestQuoteResponse
impl<'de> Deserialize<'de> for LatestQuoteResponse
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 LatestQuoteResponse
impl PartialEq for LatestQuoteResponse
impl StructuralPartialEq for LatestQuoteResponse
Auto Trait Implementations§
impl Freeze for LatestQuoteResponse
impl RefUnwindSafe for LatestQuoteResponse
impl Send for LatestQuoteResponse
impl Sync for LatestQuoteResponse
impl Unpin for LatestQuoteResponse
impl UnwindSafe for LatestQuoteResponse
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