#[non_exhaustive]pub struct CreateTensorboardExperimentRequest {
pub parent: String,
pub tensorboard_experiment: Option<TensorboardExperiment>,
pub tensorboard_experiment_id: String,
/* private fields */
}Expand description
Request message for TensorboardService.CreateTensorboardExperiment.
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.parent: StringRequired. The resource name of the Tensorboard to create the
TensorboardExperiment in. Format:
projects/{project}/locations/{location}/tensorboards/{tensorboard}
tensorboard_experiment: Option<TensorboardExperiment>The TensorboardExperiment to create.
tensorboard_experiment_id: StringRequired. The ID to use for the Tensorboard experiment, which becomes the final component of the Tensorboard experiment’s resource name.
This value should be 1-128 characters, and valid characters
are /[a-z][0-9]-/.
Implementations§
Source§impl CreateTensorboardExperimentRequest
impl CreateTensorboardExperimentRequest
pub fn new() -> Self
Sourcepub fn set_parent<T: Into<String>>(self, v: T) -> Self
pub fn set_parent<T: Into<String>>(self, v: T) -> Self
Sets the value of parent.
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.
Sourcepub fn set_tensorboard_experiment_id<T: Into<String>>(self, v: T) -> Self
pub fn set_tensorboard_experiment_id<T: Into<String>>(self, v: T) -> Self
Sets the value of tensorboard_experiment_id.
Trait Implementations§
Source§impl Clone for CreateTensorboardExperimentRequest
impl Clone for CreateTensorboardExperimentRequest
Source§fn clone(&self) -> CreateTensorboardExperimentRequest
fn clone(&self) -> CreateTensorboardExperimentRequest
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 CreateTensorboardExperimentRequest
impl Default for CreateTensorboardExperimentRequest
Source§fn default() -> CreateTensorboardExperimentRequest
fn default() -> CreateTensorboardExperimentRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateTensorboardExperimentRequest
impl<'de> Deserialize<'de> for CreateTensorboardExperimentRequest
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 CreateTensorboardExperimentRequest
impl PartialEq for CreateTensorboardExperimentRequest
Source§fn eq(&self, other: &CreateTensorboardExperimentRequest) -> bool
fn eq(&self, other: &CreateTensorboardExperimentRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateTensorboardExperimentRequest
Auto Trait Implementations§
impl Freeze for CreateTensorboardExperimentRequest
impl RefUnwindSafe for CreateTensorboardExperimentRequest
impl Send for CreateTensorboardExperimentRequest
impl Sync for CreateTensorboardExperimentRequest
impl Unpin for CreateTensorboardExperimentRequest
impl UnwindSafe for CreateTensorboardExperimentRequest
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