pub struct SectorPerformance {
pub date: NaiveDate,
pub sector: String,
pub exchange: String,
pub average_change: f64,
}Expand description
Average changes from sector-performance-snapshot or historical-sector-performance.
Fields§
§date: NaiveDate§sector: String§exchange: String§average_change: f64Trait Implementations§
Source§impl Clone for SectorPerformance
impl Clone for SectorPerformance
Source§impl Debug for SectorPerformance
impl Debug for SectorPerformance
Source§impl<'de> Deserialize<'de> for SectorPerformance
impl<'de> Deserialize<'de> for SectorPerformance
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 SectorPerformance
impl PartialEq for SectorPerformance
Source§impl Serialize for SectorPerformance
impl Serialize for SectorPerformance
impl StructuralPartialEq for SectorPerformance
Auto Trait Implementations§
impl Freeze for SectorPerformance
impl RefUnwindSafe for SectorPerformance
impl Send for SectorPerformance
impl Sync for SectorPerformance
impl Unpin for SectorPerformance
impl UnsafeUnpin for SectorPerformance
impl UnwindSafe for SectorPerformance
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