#[non_exhaustive]pub struct DeployIndexOperationMetadata {
pub generic_metadata: Option<GenericOperationMetadata>,
pub deployed_index_id: String,
/* private fields */
}Expand description
Runtime operation information for IndexEndpointService.DeployIndex.
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.generic_metadata: Option<GenericOperationMetadata>The operation generic information.
deployed_index_id: StringThe unique index id specified by user
Implementations§
Source§impl DeployIndexOperationMetadata
impl DeployIndexOperationMetadata
pub fn new() -> Self
Sourcepub fn set_generic_metadata<T: Into<Option<GenericOperationMetadata>>>(
self,
v: T,
) -> Self
pub fn set_generic_metadata<T: Into<Option<GenericOperationMetadata>>>( self, v: T, ) -> Self
Sets the value of generic_metadata.
Sourcepub fn set_deployed_index_id<T: Into<String>>(self, v: T) -> Self
pub fn set_deployed_index_id<T: Into<String>>(self, v: T) -> Self
Sets the value of deployed_index_id.
Trait Implementations§
Source§impl Clone for DeployIndexOperationMetadata
impl Clone for DeployIndexOperationMetadata
Source§fn clone(&self) -> DeployIndexOperationMetadata
fn clone(&self) -> DeployIndexOperationMetadata
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 Debug for DeployIndexOperationMetadata
impl Debug for DeployIndexOperationMetadata
Source§impl Default for DeployIndexOperationMetadata
impl Default for DeployIndexOperationMetadata
Source§fn default() -> DeployIndexOperationMetadata
fn default() -> DeployIndexOperationMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeployIndexOperationMetadatawhere
DeployIndexOperationMetadata: Default,
impl<'de> Deserialize<'de> for DeployIndexOperationMetadatawhere
DeployIndexOperationMetadata: Default,
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 DeployIndexOperationMetadata
impl PartialEq for DeployIndexOperationMetadata
Source§fn eq(&self, other: &DeployIndexOperationMetadata) -> bool
fn eq(&self, other: &DeployIndexOperationMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeployIndexOperationMetadata
Auto Trait Implementations§
impl Freeze for DeployIndexOperationMetadata
impl RefUnwindSafe for DeployIndexOperationMetadata
impl Send for DeployIndexOperationMetadata
impl Sync for DeployIndexOperationMetadata
impl Unpin for DeployIndexOperationMetadata
impl UnwindSafe for DeployIndexOperationMetadata
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