pub struct LatestDatapoint {
pub timestamp: DateTime<Utc>,
pub value: Option<f64>,
pub unit: Option<String>,
}Expand description
Latest datapoint summary for a metric series.
Fields§
§timestamp: DateTime<Utc>§value: Option<f64>§unit: Option<String>Trait Implementations§
Source§impl Clone for LatestDatapoint
impl Clone for LatestDatapoint
Auto Trait Implementations§
impl Freeze for LatestDatapoint
impl RefUnwindSafe for LatestDatapoint
impl Send for LatestDatapoint
impl Sync for LatestDatapoint
impl Unpin for LatestDatapoint
impl UnsafeUnpin for LatestDatapoint
impl UnwindSafe for LatestDatapoint
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