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