#[non_exhaustive]pub struct UpdateTensorboardExperimentRequest {
pub update_mask: Option<FieldMask>,
pub tensorboard_experiment: Option<TensorboardExperiment>,
/* private fields */
}Expand description
Request message for TensorboardService.UpdateTensorboardExperiment.
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.update_mask: Option<FieldMask>Required. Field mask is used to specify the fields to be overwritten in the TensorboardExperiment 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_experiment: Option<TensorboardExperiment>Required. The TensorboardExperiment’s name field is used to identify the
TensorboardExperiment to be updated. Format:
projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}
Implementations§
Source§impl UpdateTensorboardExperimentRequest
impl UpdateTensorboardExperimentRequest
pub fn new() -> Self
Sourcepub fn set_update_mask<T: Into<Option<FieldMask>>>(self, v: T) -> Self
pub fn set_update_mask<T: Into<Option<FieldMask>>>(self, v: T) -> Self
Sets the value of update_mask.
Sourcepub fn set_tensorboard_experiment<T: Into<Option<TensorboardExperiment>>>(
self,
v: T,
) -> Self
pub fn set_tensorboard_experiment<T: Into<Option<TensorboardExperiment>>>( self, v: T, ) -> Self
Sets the value of tensorboard_experiment.
Trait Implementations§
Source§impl Clone for UpdateTensorboardExperimentRequest
impl Clone for UpdateTensorboardExperimentRequest
Source§fn clone(&self) -> UpdateTensorboardExperimentRequest
fn clone(&self) -> UpdateTensorboardExperimentRequest
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 UpdateTensorboardExperimentRequest
impl Default for UpdateTensorboardExperimentRequest
Source§fn default() -> UpdateTensorboardExperimentRequest
fn default() -> UpdateTensorboardExperimentRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateTensorboardExperimentRequest
impl<'de> Deserialize<'de> for UpdateTensorboardExperimentRequest
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 UpdateTensorboardExperimentRequest
impl PartialEq for UpdateTensorboardExperimentRequest
Source§fn eq(&self, other: &UpdateTensorboardExperimentRequest) -> bool
fn eq(&self, other: &UpdateTensorboardExperimentRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateTensorboardExperimentRequest
Auto Trait Implementations§
impl Freeze for UpdateTensorboardExperimentRequest
impl RefUnwindSafe for UpdateTensorboardExperimentRequest
impl Send for UpdateTensorboardExperimentRequest
impl Sync for UpdateTensorboardExperimentRequest
impl Unpin for UpdateTensorboardExperimentRequest
impl UnwindSafe for UpdateTensorboardExperimentRequest
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