Struct aws_sdk_opensearchserverless::operation::batch_get_collection::BatchGetCollectionInput
source · #[non_exhaustive]pub struct BatchGetCollectionInput {
pub ids: Option<Vec<String>>,
pub names: Option<Vec<String>>,
}
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.ids: Option<Vec<String>>
A list of collection IDs. You can't provide names and IDs in the same request. The ID is part of the collection endpoint. You can also retrieve it using the ListCollections API.
names: Option<Vec<String>>
A list of collection names. You can't provide names and IDs in the same request.
Implementations§
source§impl BatchGetCollectionInput
impl BatchGetCollectionInput
sourcepub fn ids(&self) -> &[String]
pub fn ids(&self) -> &[String]
A list of collection IDs. You can't provide names and IDs in the same request. The ID is part of the collection endpoint. You can also retrieve it using the ListCollections API.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .ids.is_none()
.
source§impl BatchGetCollectionInput
impl BatchGetCollectionInput
sourcepub fn builder() -> BatchGetCollectionInputBuilder
pub fn builder() -> BatchGetCollectionInputBuilder
Creates a new builder-style object to manufacture BatchGetCollectionInput
.
Trait Implementations§
source§impl Clone for BatchGetCollectionInput
impl Clone for BatchGetCollectionInput
source§fn clone(&self) -> BatchGetCollectionInput
fn clone(&self) -> BatchGetCollectionInput
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 BatchGetCollectionInput
impl Debug for BatchGetCollectionInput
source§impl PartialEq for BatchGetCollectionInput
impl PartialEq for BatchGetCollectionInput
source§fn eq(&self, other: &BatchGetCollectionInput) -> bool
fn eq(&self, other: &BatchGetCollectionInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BatchGetCollectionInput
Auto Trait Implementations§
impl RefUnwindSafe for BatchGetCollectionInput
impl Send for BatchGetCollectionInput
impl Sync for BatchGetCollectionInput
impl Unpin for BatchGetCollectionInput
impl UnwindSafe for BatchGetCollectionInput
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.