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
Source§fn clone(&self) -> LatestDatapoint
fn clone(&self) -> LatestDatapoint
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto 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