Struct yahoo_finance_api::Quote
source · pub struct Quote {
pub timestamp: u64,
pub open: f64,
pub high: f64,
pub low: f64,
pub volume: u64,
pub close: f64,
pub adjclose: f64,
}
Expand description
Struct for single quote
Fields§
§timestamp: u64
§open: f64
§high: f64
§low: f64
§volume: u64
§close: f64
§adjclose: f64
Trait Implementations§
source§impl PartialEq<Quote> for Quote
impl PartialEq<Quote> for Quote
source§impl PartialOrd<Quote> for Quote
impl PartialOrd<Quote> for Quote
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl StructuralPartialEq for Quote
Auto Trait Implementations§
impl RefUnwindSafe for Quote
impl Send for Quote
impl Sync for Quote
impl Unpin for Quote
impl UnwindSafe for Quote
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