#[non_exhaustive]pub struct GeneratorEvaluationOperationMetadata {
pub generator_evaluation: String,
/* private fields */
}Available on crate feature
generator-evaluations only.Expand description
Metadata for a GeneratorEvaluations.CreateGeneratorEvaluation operation.
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.generator_evaluation: StringOutput only. The resource name of the generator evaluation. Format:
projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>/evaluations/<Evaluation ID>
Implementations§
Source§impl GeneratorEvaluationOperationMetadata
impl GeneratorEvaluationOperationMetadata
pub fn new() -> Self
Sourcepub fn set_generator_evaluation<T: Into<String>>(self, v: T) -> Self
pub fn set_generator_evaluation<T: Into<String>>(self, v: T) -> Self
Sets the value of generator_evaluation.
§Example
ⓘ
let x = GeneratorEvaluationOperationMetadata::new().set_generator_evaluation("example");Trait Implementations§
Source§impl Clone for GeneratorEvaluationOperationMetadata
impl Clone for GeneratorEvaluationOperationMetadata
Source§fn clone(&self) -> GeneratorEvaluationOperationMetadata
fn clone(&self) -> GeneratorEvaluationOperationMetadata
Returns a duplicate 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 GeneratorEvaluationOperationMetadata
impl Default for GeneratorEvaluationOperationMetadata
Source§fn default() -> GeneratorEvaluationOperationMetadata
fn default() -> GeneratorEvaluationOperationMetadata
Returns the “default value” for a type. Read more
Source§impl PartialEq for GeneratorEvaluationOperationMetadata
impl PartialEq for GeneratorEvaluationOperationMetadata
Source§fn eq(&self, other: &GeneratorEvaluationOperationMetadata) -> bool
fn eq(&self, other: &GeneratorEvaluationOperationMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GeneratorEvaluationOperationMetadata
Auto Trait Implementations§
impl Freeze for GeneratorEvaluationOperationMetadata
impl RefUnwindSafe for GeneratorEvaluationOperationMetadata
impl Send for GeneratorEvaluationOperationMetadata
impl Sync for GeneratorEvaluationOperationMetadata
impl Unpin for GeneratorEvaluationOperationMetadata
impl UnwindSafe for GeneratorEvaluationOperationMetadata
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