#[non_exhaustive]pub struct CreateTensorboardRunRequest {
pub parent: String,
pub tensorboard_run: Option<TensorboardRun>,
pub tensorboard_run_id: String,
/* private fields */
}Expand description
Request message for TensorboardService.CreateTensorboardRun.
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 TensorboardExperiment to create the
TensorboardRun in. Format:
projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}
tensorboard_run: Option<TensorboardRun>Required. The TensorboardRun to create.
tensorboard_run_id: StringRequired. The ID to use for the Tensorboard run, which becomes the final component of the Tensorboard run’s resource name.
This value should be 1-128 characters, and valid characters
are /[a-z][0-9]-/.
Implementations§
Source§impl CreateTensorboardRunRequest
impl CreateTensorboardRunRequest
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_run<T: Into<Option<TensorboardRun>>>(self, v: T) -> Self
pub fn set_tensorboard_run<T: Into<Option<TensorboardRun>>>(self, v: T) -> Self
Sets the value of tensorboard_run.
Sourcepub fn set_tensorboard_run_id<T: Into<String>>(self, v: T) -> Self
pub fn set_tensorboard_run_id<T: Into<String>>(self, v: T) -> Self
Sets the value of tensorboard_run_id.
Trait Implementations§
Source§impl Clone for CreateTensorboardRunRequest
impl Clone for CreateTensorboardRunRequest
Source§fn clone(&self) -> CreateTensorboardRunRequest
fn clone(&self) -> CreateTensorboardRunRequest
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 Debug for CreateTensorboardRunRequest
impl Debug for CreateTensorboardRunRequest
Source§impl Default for CreateTensorboardRunRequest
impl Default for CreateTensorboardRunRequest
Source§fn default() -> CreateTensorboardRunRequest
fn default() -> CreateTensorboardRunRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateTensorboardRunRequestwhere
CreateTensorboardRunRequest: Default,
impl<'de> Deserialize<'de> for CreateTensorboardRunRequestwhere
CreateTensorboardRunRequest: Default,
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
impl StructuralPartialEq for CreateTensorboardRunRequest
Auto Trait Implementations§
impl Freeze for CreateTensorboardRunRequest
impl RefUnwindSafe for CreateTensorboardRunRequest
impl Send for CreateTensorboardRunRequest
impl Sync for CreateTensorboardRunRequest
impl Unpin for CreateTensorboardRunRequest
impl UnwindSafe for CreateTensorboardRunRequest
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