#[non_exhaustive]pub struct WriteTensorboardExperimentDataRequest {
pub tensorboard_experiment: String,
pub write_run_data_requests: Vec<WriteTensorboardRunDataRequest>,
/* private fields */
}Expand description
Request message for TensorboardService.WriteTensorboardExperimentData.
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_experiment: StringRequired. The resource name of the TensorboardExperiment to write data to.
Format:
projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}
write_run_data_requests: Vec<WriteTensorboardRunDataRequest>Required. Requests containing per-run TensorboardTimeSeries data to write.
Implementations§
Source§impl WriteTensorboardExperimentDataRequest
impl WriteTensorboardExperimentDataRequest
pub fn new() -> Self
Sourcepub fn set_tensorboard_experiment<T: Into<String>>(self, v: T) -> Self
pub fn set_tensorboard_experiment<T: Into<String>>(self, v: T) -> Self
Sets the value of tensorboard_experiment.
Sourcepub fn set_write_run_data_requests<T, V>(self, v: T) -> Self
pub fn set_write_run_data_requests<T, V>(self, v: T) -> Self
Sets the value of write_run_data_requests.
Trait Implementations§
Source§impl Clone for WriteTensorboardExperimentDataRequest
impl Clone for WriteTensorboardExperimentDataRequest
Source§fn clone(&self) -> WriteTensorboardExperimentDataRequest
fn clone(&self) -> WriteTensorboardExperimentDataRequest
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 WriteTensorboardExperimentDataRequest
impl Default for WriteTensorboardExperimentDataRequest
Source§fn default() -> WriteTensorboardExperimentDataRequest
fn default() -> WriteTensorboardExperimentDataRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WriteTensorboardExperimentDataRequest
impl<'de> Deserialize<'de> for WriteTensorboardExperimentDataRequest
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 WriteTensorboardExperimentDataRequest
impl PartialEq for WriteTensorboardExperimentDataRequest
Source§fn eq(&self, other: &WriteTensorboardExperimentDataRequest) -> bool
fn eq(&self, other: &WriteTensorboardExperimentDataRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WriteTensorboardExperimentDataRequest
Auto Trait Implementations§
impl Freeze for WriteTensorboardExperimentDataRequest
impl RefUnwindSafe for WriteTensorboardExperimentDataRequest
impl Send for WriteTensorboardExperimentDataRequest
impl Sync for WriteTensorboardExperimentDataRequest
impl Unpin for WriteTensorboardExperimentDataRequest
impl UnwindSafe for WriteTensorboardExperimentDataRequest
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