#[non_exhaustive]pub struct UpdateSpecialistPoolOperationMetadata {
pub specialist_pool: String,
pub generic_metadata: Option<GenericOperationMetadata>,
/* private fields */
}Available on crate feature
specialist-pool-service only.Expand description
Runtime operation metadata for SpecialistPoolService.UpdateSpecialistPool.
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.specialist_pool: StringOutput only. The name of the SpecialistPool to which the specialists are
being added. Format:
projects/{project_id}/locations/{location_id}/specialistPools/{specialist_pool}
generic_metadata: Option<GenericOperationMetadata>The operation generic information.
Implementations§
Source§impl UpdateSpecialistPoolOperationMetadata
impl UpdateSpecialistPoolOperationMetadata
pub fn new() -> Self
Sourcepub fn set_specialist_pool<T: Into<String>>(self, v: T) -> Self
pub fn set_specialist_pool<T: Into<String>>(self, v: T) -> Self
Sets the value of specialist_pool.
§Example
ⓘ
let x = UpdateSpecialistPoolOperationMetadata::new().set_specialist_pool("example");Sourcepub fn set_generic_metadata<T>(self, v: T) -> Selfwhere
T: Into<GenericOperationMetadata>,
pub fn set_generic_metadata<T>(self, v: T) -> Selfwhere
T: Into<GenericOperationMetadata>,
Sets the value of generic_metadata.
§Example
ⓘ
use google_cloud_aiplatform_v1::model::GenericOperationMetadata;
let x = UpdateSpecialistPoolOperationMetadata::new().set_generic_metadata(GenericOperationMetadata::default()/* use setters */);Sourcepub fn set_or_clear_generic_metadata<T>(self, v: Option<T>) -> Selfwhere
T: Into<GenericOperationMetadata>,
pub fn set_or_clear_generic_metadata<T>(self, v: Option<T>) -> Selfwhere
T: Into<GenericOperationMetadata>,
Sets or clears the value of generic_metadata.
§Example
ⓘ
use google_cloud_aiplatform_v1::model::GenericOperationMetadata;
let x = UpdateSpecialistPoolOperationMetadata::new().set_or_clear_generic_metadata(Some(GenericOperationMetadata::default()/* use setters */));
let x = UpdateSpecialistPoolOperationMetadata::new().set_or_clear_generic_metadata(None::<GenericOperationMetadata>);Trait Implementations§
Source§impl Clone for UpdateSpecialistPoolOperationMetadata
impl Clone for UpdateSpecialistPoolOperationMetadata
Source§fn clone(&self) -> UpdateSpecialistPoolOperationMetadata
fn clone(&self) -> UpdateSpecialistPoolOperationMetadata
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 UpdateSpecialistPoolOperationMetadata
impl Default for UpdateSpecialistPoolOperationMetadata
Source§fn default() -> UpdateSpecialistPoolOperationMetadata
fn default() -> UpdateSpecialistPoolOperationMetadata
Returns the “default value” for a type. Read more
Source§impl PartialEq for UpdateSpecialistPoolOperationMetadata
impl PartialEq for UpdateSpecialistPoolOperationMetadata
Source§fn eq(&self, other: &UpdateSpecialistPoolOperationMetadata) -> bool
fn eq(&self, other: &UpdateSpecialistPoolOperationMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateSpecialistPoolOperationMetadata
Auto Trait Implementations§
impl Freeze for UpdateSpecialistPoolOperationMetadata
impl RefUnwindSafe for UpdateSpecialistPoolOperationMetadata
impl Send for UpdateSpecialistPoolOperationMetadata
impl Sync for UpdateSpecialistPoolOperationMetadata
impl Unpin for UpdateSpecialistPoolOperationMetadata
impl UnwindSafe for UpdateSpecialistPoolOperationMetadata
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