pub struct TimeseriesPoint {
pub point: Option<Point>,
pub timeseries_desc: Option<TimeseriesDescriptor>,
}Expand description
When writing time series, TimeseriesPoint should be used instead of Timeseries, to enforce single point for each time series in the timeseries.write request.
This type is not used in any activity, and only used as part of another schema.
Fields§
§point: Option<Point>The data point in this time series snapshot.
timeseries_desc: Option<TimeseriesDescriptor>The descriptor of this time series.
Trait Implementations§
Source§impl Clone for TimeseriesPoint
impl Clone for TimeseriesPoint
Source§fn clone(&self) -> TimeseriesPoint
fn clone(&self) -> TimeseriesPoint
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 TimeseriesPoint
impl Debug for TimeseriesPoint
Source§impl Default for TimeseriesPoint
impl Default for TimeseriesPoint
Source§fn default() -> TimeseriesPoint
fn default() -> TimeseriesPoint
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TimeseriesPoint
impl<'de> Deserialize<'de> for TimeseriesPoint
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 Serialize for TimeseriesPoint
impl Serialize for TimeseriesPoint
impl Part for TimeseriesPoint
Auto Trait Implementations§
impl Freeze for TimeseriesPoint
impl RefUnwindSafe for TimeseriesPoint
impl Send for TimeseriesPoint
impl Sync for TimeseriesPoint
impl Unpin for TimeseriesPoint
impl UnwindSafe for TimeseriesPoint
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