#[non_exhaustive]pub struct CollectionErrorDetail { /* private fields */ }
Expand description
Error information for an OpenSearch Serverless request.
Implementations§
source§impl CollectionErrorDetail
impl CollectionErrorDetail
sourcepub fn id(&self) -> Option<&str>
pub fn id(&self) -> Option<&str>
If the request contains collection IDs, the response includes the IDs provided in the request.
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
If the request contains collection names, the response includes the names provided in the request.
sourcepub fn error_message(&self) -> Option<&str>
pub fn error_message(&self) -> Option<&str>
A description of the error. For example, The specified Collection is not found.
sourcepub fn error_code(&self) -> Option<&str>
pub fn error_code(&self) -> Option<&str>
The error code for the request. For example, NOT_FOUND
.
source§impl CollectionErrorDetail
impl CollectionErrorDetail
sourcepub fn builder() -> CollectionErrorDetailBuilder
pub fn builder() -> CollectionErrorDetailBuilder
Creates a new builder-style object to manufacture CollectionErrorDetail
.
Trait Implementations§
source§impl Clone for CollectionErrorDetail
impl Clone for CollectionErrorDetail
source§fn clone(&self) -> CollectionErrorDetail
fn clone(&self) -> CollectionErrorDetail
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 CollectionErrorDetail
impl Debug for CollectionErrorDetail
source§impl PartialEq<CollectionErrorDetail> for CollectionErrorDetail
impl PartialEq<CollectionErrorDetail> for CollectionErrorDetail
source§fn eq(&self, other: &CollectionErrorDetail) -> bool
fn eq(&self, other: &CollectionErrorDetail) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CollectionErrorDetail
Auto Trait Implementations§
impl RefUnwindSafe for CollectionErrorDetail
impl Send for CollectionErrorDetail
impl Sync for CollectionErrorDetail
impl Unpin for CollectionErrorDetail
impl UnwindSafe for CollectionErrorDetail
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