#[non_exhaustive]pub struct BatchImportModelEvaluationSlicesRequest {
pub parent: String,
pub model_evaluation_slices: Vec<ModelEvaluationSlice>,
/* private fields */
}Expand description
Request message for ModelService.BatchImportModelEvaluationSlices
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 name of the parent ModelEvaluation resource.
Format:
projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}
model_evaluation_slices: Vec<ModelEvaluationSlice>Required. Model evaluation slice resource to be imported.
Implementations§
Source§impl BatchImportModelEvaluationSlicesRequest
impl BatchImportModelEvaluationSlicesRequest
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_model_evaluation_slices<T, V>(self, v: T) -> Self
pub fn set_model_evaluation_slices<T, V>(self, v: T) -> Self
Sets the value of model_evaluation_slices.
Trait Implementations§
Source§impl Clone for BatchImportModelEvaluationSlicesRequest
impl Clone for BatchImportModelEvaluationSlicesRequest
Source§fn clone(&self) -> BatchImportModelEvaluationSlicesRequest
fn clone(&self) -> BatchImportModelEvaluationSlicesRequest
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 BatchImportModelEvaluationSlicesRequest
impl Default for BatchImportModelEvaluationSlicesRequest
Source§fn default() -> BatchImportModelEvaluationSlicesRequest
fn default() -> BatchImportModelEvaluationSlicesRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BatchImportModelEvaluationSlicesRequest
impl<'de> Deserialize<'de> for BatchImportModelEvaluationSlicesRequest
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 BatchImportModelEvaluationSlicesRequest
impl PartialEq for BatchImportModelEvaluationSlicesRequest
Source§fn eq(&self, other: &BatchImportModelEvaluationSlicesRequest) -> bool
fn eq(&self, other: &BatchImportModelEvaluationSlicesRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BatchImportModelEvaluationSlicesRequest
Auto Trait Implementations§
impl Freeze for BatchImportModelEvaluationSlicesRequest
impl RefUnwindSafe for BatchImportModelEvaluationSlicesRequest
impl Send for BatchImportModelEvaluationSlicesRequest
impl Sync for BatchImportModelEvaluationSlicesRequest
impl Unpin for BatchImportModelEvaluationSlicesRequest
impl UnwindSafe for BatchImportModelEvaluationSlicesRequest
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