#[non_exhaustive]pub struct MutateDeployedIndexResponse {
pub deployed_index: Option<DeployedIndex>,
/* private fields */
}Available on crate feature
index-endpoint-service only.Expand description
Response message for IndexEndpointService.MutateDeployedIndex.
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.deployed_index: Option<DeployedIndex>The DeployedIndex that had been updated in the IndexEndpoint.
Implementations§
Source§impl MutateDeployedIndexResponse
impl MutateDeployedIndexResponse
pub fn new() -> Self
Sourcepub fn set_deployed_index<T>(self, v: T) -> Selfwhere
T: Into<DeployedIndex>,
pub fn set_deployed_index<T>(self, v: T) -> Selfwhere
T: Into<DeployedIndex>,
Sets the value of deployed_index.
§Example
ⓘ
use google_cloud_aiplatform_v1::model::DeployedIndex;
let x = MutateDeployedIndexResponse::new().set_deployed_index(DeployedIndex::default()/* use setters */);Sourcepub fn set_or_clear_deployed_index<T>(self, v: Option<T>) -> Selfwhere
T: Into<DeployedIndex>,
pub fn set_or_clear_deployed_index<T>(self, v: Option<T>) -> Selfwhere
T: Into<DeployedIndex>,
Sets or clears the value of deployed_index.
§Example
ⓘ
use google_cloud_aiplatform_v1::model::DeployedIndex;
let x = MutateDeployedIndexResponse::new().set_or_clear_deployed_index(Some(DeployedIndex::default()/* use setters */));
let x = MutateDeployedIndexResponse::new().set_or_clear_deployed_index(None::<DeployedIndex>);Trait Implementations§
Source§impl Clone for MutateDeployedIndexResponse
impl Clone for MutateDeployedIndexResponse
Source§fn clone(&self) -> MutateDeployedIndexResponse
fn clone(&self) -> MutateDeployedIndexResponse
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 Debug for MutateDeployedIndexResponse
impl Debug for MutateDeployedIndexResponse
Source§impl Default for MutateDeployedIndexResponse
impl Default for MutateDeployedIndexResponse
Source§fn default() -> MutateDeployedIndexResponse
fn default() -> MutateDeployedIndexResponse
Returns the “default value” for a type. Read more
impl StructuralPartialEq for MutateDeployedIndexResponse
Auto Trait Implementations§
impl Freeze for MutateDeployedIndexResponse
impl RefUnwindSafe for MutateDeployedIndexResponse
impl Send for MutateDeployedIndexResponse
impl Sync for MutateDeployedIndexResponse
impl Unpin for MutateDeployedIndexResponse
impl UnwindSafe for MutateDeployedIndexResponse
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