#[non_exhaustive]pub struct WriteTensorboardRunDataRequest {
pub tensorboard_run: String,
pub time_series_data: Vec<TimeSeriesData>,
/* private fields */
}Expand description
Request message for TensorboardService.WriteTensorboardRunData.
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_run: StringRequired. The resource name of the TensorboardRun to write data to.
Format:
projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}
time_series_data: Vec<TimeSeriesData>Required. The TensorboardTimeSeries data to write. Values with in a time series are indexed by their step value. Repeated writes to the same step will overwrite the existing value for that step. The upper limit of data points per write request is 5000.
Implementations§
Source§impl WriteTensorboardRunDataRequest
impl WriteTensorboardRunDataRequest
pub fn new() -> Self
Sourcepub fn set_tensorboard_run<T: Into<String>>(self, v: T) -> Self
pub fn set_tensorboard_run<T: Into<String>>(self, v: T) -> Self
Sets the value of tensorboard_run.
Sourcepub fn set_time_series_data<T, V>(self, v: T) -> Self
pub fn set_time_series_data<T, V>(self, v: T) -> Self
Sets the value of time_series_data.
Trait Implementations§
Source§impl Clone for WriteTensorboardRunDataRequest
impl Clone for WriteTensorboardRunDataRequest
Source§fn clone(&self) -> WriteTensorboardRunDataRequest
fn clone(&self) -> WriteTensorboardRunDataRequest
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 Default for WriteTensorboardRunDataRequest
impl Default for WriteTensorboardRunDataRequest
Source§fn default() -> WriteTensorboardRunDataRequest
fn default() -> WriteTensorboardRunDataRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WriteTensorboardRunDataRequest
impl<'de> Deserialize<'de> for WriteTensorboardRunDataRequest
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 WriteTensorboardRunDataRequest
impl PartialEq for WriteTensorboardRunDataRequest
Source§fn eq(&self, other: &WriteTensorboardRunDataRequest) -> bool
fn eq(&self, other: &WriteTensorboardRunDataRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WriteTensorboardRunDataRequest
Auto Trait Implementations§
impl Freeze for WriteTensorboardRunDataRequest
impl RefUnwindSafe for WriteTensorboardRunDataRequest
impl Send for WriteTensorboardRunDataRequest
impl Sync for WriteTensorboardRunDataRequest
impl Unpin for WriteTensorboardRunDataRequest
impl UnwindSafe for WriteTensorboardRunDataRequest
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