#[non_exhaustive]pub struct UpdateTensorboardRunRequest {
pub update_mask: Option<FieldMask>,
pub tensorboard_run: Option<TensorboardRun>,
/* private fields */
}tensorboard-service only.Expand description
Request message for TensorboardService.UpdateTensorboardRun.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.update_mask: Option<FieldMask>Required. Field mask is used to specify the fields to be overwritten in the TensorboardRun resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it’s in the mask. If the user does not provide a mask then all fields are overwritten if new values are specified.
tensorboard_run: Option<TensorboardRun>Required. The TensorboardRun’s name field is used to identify the
TensorboardRun to be updated. Format:
projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}
Implementations§
Source§impl UpdateTensorboardRunRequest
impl UpdateTensorboardRunRequest
pub fn new() -> Self
Sourcepub fn set_update_mask<T>(self, v: T) -> Self
pub fn set_update_mask<T>(self, v: T) -> Self
Sets the value of update_mask.
Sourcepub fn set_or_clear_update_mask<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_update_mask<T>(self, v: Option<T>) -> Self
Sets or clears the value of update_mask.
Sourcepub fn set_tensorboard_run<T>(self, v: T) -> Selfwhere
T: Into<TensorboardRun>,
pub fn set_tensorboard_run<T>(self, v: T) -> Selfwhere
T: Into<TensorboardRun>,
Sets the value of tensorboard_run.
Sourcepub fn set_or_clear_tensorboard_run<T>(self, v: Option<T>) -> Selfwhere
T: Into<TensorboardRun>,
pub fn set_or_clear_tensorboard_run<T>(self, v: Option<T>) -> Selfwhere
T: Into<TensorboardRun>,
Sets or clears the value of tensorboard_run.
Trait Implementations§
Source§impl Clone for UpdateTensorboardRunRequest
impl Clone for UpdateTensorboardRunRequest
Source§fn clone(&self) -> UpdateTensorboardRunRequest
fn clone(&self) -> UpdateTensorboardRunRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more