pub struct ProfileUpdate {
pub quote: Option<Quote>,
pub similar: Option<Vec<SimpleQuote>>,
pub sector_performance: Option<MarketSector>,
pub news: Option<Vec<News>>,
}Expand description
Profile update containing quote, similar stocks, sector performance, and news.
Fields§
§quote: Option<Quote>Current quote data for the symbol
similar: Option<Vec<SimpleQuote>>Similar stocks to the symbol
sector_performance: Option<MarketSector>Sector performance data
news: Option<Vec<News>>Recent news for the symbol
Trait Implementations§
Source§impl Clone for ProfileUpdate
impl Clone for ProfileUpdate
Source§fn clone(&self) -> ProfileUpdate
fn clone(&self) -> ProfileUpdate
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 ProfileUpdate
impl Debug for ProfileUpdate
Source§impl<'de> Deserialize<'de> for ProfileUpdate
impl<'de> Deserialize<'de> for ProfileUpdate
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
Auto Trait Implementations§
impl Freeze for ProfileUpdate
impl RefUnwindSafe for ProfileUpdate
impl Send for ProfileUpdate
impl Sync for ProfileUpdate
impl Unpin for ProfileUpdate
impl UnwindSafe for ProfileUpdate
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