pub struct Realtime {
pub timestamp: Option<Box<i32>>,
pub aggregate_delay: Option<i64>,
pub data: Option<Vec<RealtimeEntry>>,
}
Fields§
§timestamp: Option<Box<i32>>
Value to use for subsequent requests.
aggregate_delay: Option<i64>
How long the system will wait before aggregating messages for each second. The most recent data returned will have happened at the moment of the request, minus the aggregation delay.
data: Option<Vec<RealtimeEntry>>
A list of records, each representing one second of time.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Realtime
impl<'de> Deserialize<'de> for Realtime
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
impl StructuralPartialEq for Realtime
Auto Trait Implementations§
impl Freeze for Realtime
impl RefUnwindSafe for Realtime
impl Send for Realtime
impl Sync for Realtime
impl Unpin for Realtime
impl UnwindSafe for Realtime
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