#[non_exhaustive]pub struct CollectionSummary {
pub id: Option<String>,
pub name: Option<String>,
pub status: Option<CollectionStatus>,
pub arn: Option<String>,
}
Expand description
Details about each 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.
arn: Option<String>
The Amazon Resource Name (ARN) of the collection.
Implementations§
source§impl CollectionSummary
impl CollectionSummary
sourcepub fn status(&self) -> Option<&CollectionStatus>
pub fn status(&self) -> Option<&CollectionStatus>
The current status of the collection.
source§impl CollectionSummary
impl CollectionSummary
sourcepub fn builder() -> CollectionSummaryBuilder
pub fn builder() -> CollectionSummaryBuilder
Creates a new builder-style object to manufacture CollectionSummary
.
Trait Implementations§
source§impl Clone for CollectionSummary
impl Clone for CollectionSummary
source§fn clone(&self) -> CollectionSummary
fn clone(&self) -> CollectionSummary
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 CollectionSummary
impl Debug for CollectionSummary
source§impl PartialEq for CollectionSummary
impl PartialEq for CollectionSummary
source§fn eq(&self, other: &CollectionSummary) -> bool
fn eq(&self, other: &CollectionSummary) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CollectionSummary
Auto Trait Implementations§
impl Freeze for CollectionSummary
impl RefUnwindSafe for CollectionSummary
impl Send for CollectionSummary
impl Sync for CollectionSummary
impl Unpin for CollectionSummary
impl UnwindSafe for CollectionSummary
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.