pub struct ValuePoint {
pub timestamp: i64,
pub value: f64,
}Expand description
Value after one event.
Fields§
§timestamp: i64Event timestamp.
value: f64Value at this point.
Trait Implementations§
Source§impl Clone for ValuePoint
impl Clone for ValuePoint
Source§fn clone(&self) -> ValuePoint
fn clone(&self) -> ValuePoint
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 moreSource§impl Debug for ValuePoint
impl Debug for ValuePoint
Source§impl<'de> Deserialize<'de> for ValuePoint
impl<'de> Deserialize<'de> for ValuePoint
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
Source§impl PartialEq for ValuePoint
impl PartialEq for ValuePoint
Source§impl Serialize for ValuePoint
impl Serialize for ValuePoint
impl StructuralPartialEq for ValuePoint
Auto Trait Implementations§
impl Freeze for ValuePoint
impl RefUnwindSafe for ValuePoint
impl Send for ValuePoint
impl Sync for ValuePoint
impl Unpin for ValuePoint
impl UnsafeUnpin for ValuePoint
impl UnwindSafe for ValuePoint
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