#[non_exhaustive]pub struct TimeSeriesData {
pub tensorboard_time_series_id: String,
pub value_type: ValueType,
pub values: Vec<TimeSeriesDataPoint>,
/* private fields */
}Expand description
All the data stored in a TensorboardTimeSeries.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.tensorboard_time_series_id: StringRequired. The ID of the TensorboardTimeSeries, which will become the final component of the TensorboardTimeSeries’ resource name
value_type: ValueTypeRequired. Immutable. The value type of this time series. All the values in this time series data must match this value type.
values: Vec<TimeSeriesDataPoint>Required. Data points in this time series.
Implementations§
Source§impl TimeSeriesData
impl TimeSeriesData
pub fn new() -> Self
Sourcepub fn set_tensorboard_time_series_id<T: Into<String>>(self, v: T) -> Self
pub fn set_tensorboard_time_series_id<T: Into<String>>(self, v: T) -> Self
Sets the value of tensorboard_time_series_id.
Sourcepub fn set_value_type<T: Into<ValueType>>(self, v: T) -> Self
pub fn set_value_type<T: Into<ValueType>>(self, v: T) -> Self
Sets the value of value_type.
Sourcepub fn set_values<T, V>(self, v: T) -> Self
pub fn set_values<T, V>(self, v: T) -> Self
Sets the value of values.
Trait Implementations§
Source§impl Clone for TimeSeriesData
impl Clone for TimeSeriesData
Source§fn clone(&self) -> TimeSeriesData
fn clone(&self) -> TimeSeriesData
Returns a copy 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 TimeSeriesData
impl Debug for TimeSeriesData
Source§impl Default for TimeSeriesData
impl Default for TimeSeriesData
Source§fn default() -> TimeSeriesData
fn default() -> TimeSeriesData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TimeSeriesDatawhere
TimeSeriesData: Default,
impl<'de> Deserialize<'de> for TimeSeriesDatawhere
TimeSeriesData: Default,
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 Message for TimeSeriesData
impl Message for TimeSeriesData
Source§impl PartialEq for TimeSeriesData
impl PartialEq for TimeSeriesData
Source§impl Serialize for TimeSeriesData
impl Serialize for TimeSeriesData
impl StructuralPartialEq for TimeSeriesData
Auto Trait Implementations§
impl Freeze for TimeSeriesData
impl RefUnwindSafe for TimeSeriesData
impl Send for TimeSeriesData
impl Sync for TimeSeriesData
impl Unpin for TimeSeriesData
impl UnwindSafe for TimeSeriesData
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