pub struct PolygonTickerSnapshot {
pub ticker: String,
pub day: Option<PolygonAggregate>,
pub last_quote: Option<PolygonQuote>,
pub last_trade: Option<PolygonTrade>,
pub prev_day: Option<PolygonAggregate>,
}Fields§
§ticker: String§day: Option<PolygonAggregate>§last_quote: Option<PolygonQuote>§last_trade: Option<PolygonTrade>§prev_day: Option<PolygonAggregate>Trait Implementations§
Source§impl Clone for PolygonTickerSnapshot
impl Clone for PolygonTickerSnapshot
Source§fn clone(&self) -> PolygonTickerSnapshot
fn clone(&self) -> PolygonTickerSnapshot
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 PolygonTickerSnapshot
impl Debug for PolygonTickerSnapshot
Source§impl<'de> Deserialize<'de> for PolygonTickerSnapshot
impl<'de> Deserialize<'de> for PolygonTickerSnapshot
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 PolygonTickerSnapshot
impl RefUnwindSafe for PolygonTickerSnapshot
impl Send for PolygonTickerSnapshot
impl Sync for PolygonTickerSnapshot
impl Unpin for PolygonTickerSnapshot
impl UnwindSafe for PolygonTickerSnapshot
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