#[non_exhaustive]pub struct UpdateCollectionDetail {
pub id: Option<String>,
pub name: Option<String>,
pub status: Option<CollectionStatus>,
pub type: Option<CollectionType>,
pub description: Option<String>,
pub arn: Option<String>,
pub created_date: Option<i64>,
pub last_modified_date: Option<i64>,
}
Expand description
Details about an updated OpenSearch Serverless collection.
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.id: Option<String>
The unique identifier of the collection.
name: Option<String>
The name of the collection.
status: Option<CollectionStatus>
The current status of the collection.
type: Option<CollectionType>
The collection type.
description: Option<String>
The description of the collection.
arn: Option<String>
The Amazon Resource Name (ARN) of the collection.
created_date: Option<i64>
The date and time when the collection was created.
last_modified_date: Option<i64>
The date and time when the collection was last modified.
Implementations§
source§impl UpdateCollectionDetail
impl UpdateCollectionDetail
sourcepub fn status(&self) -> Option<&CollectionStatus>
pub fn status(&self) -> Option<&CollectionStatus>
The current status of the collection.
sourcepub fn type(&self) -> Option<&CollectionType>
pub fn type(&self) -> Option<&CollectionType>
The collection type.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the collection.
sourcepub fn created_date(&self) -> Option<i64>
pub fn created_date(&self) -> Option<i64>
The date and time when the collection was created.
sourcepub fn last_modified_date(&self) -> Option<i64>
pub fn last_modified_date(&self) -> Option<i64>
The date and time when the collection was last modified.
source§impl UpdateCollectionDetail
impl UpdateCollectionDetail
sourcepub fn builder() -> UpdateCollectionDetailBuilder
pub fn builder() -> UpdateCollectionDetailBuilder
Creates a new builder-style object to manufacture UpdateCollectionDetail
.
Trait Implementations§
source§impl Clone for UpdateCollectionDetail
impl Clone for UpdateCollectionDetail
source§fn clone(&self) -> UpdateCollectionDetail
fn clone(&self) -> UpdateCollectionDetail
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 UpdateCollectionDetail
impl Debug for UpdateCollectionDetail
source§impl PartialEq for UpdateCollectionDetail
impl PartialEq for UpdateCollectionDetail
source§fn eq(&self, other: &UpdateCollectionDetail) -> bool
fn eq(&self, other: &UpdateCollectionDetail) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateCollectionDetail
Auto Trait Implementations§
impl RefUnwindSafe for UpdateCollectionDetail
impl Send for UpdateCollectionDetail
impl Sync for UpdateCollectionDetail
impl Unpin for UpdateCollectionDetail
impl UnwindSafe for UpdateCollectionDetail
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.