Enum opensearch::MsearchTemplateParts
source · pub enum MsearchTemplateParts<'b> {
None,
Index(&'b [&'b str]),
}
Expand description
API parts for the Msearch Template API
Variants§
Implementations§
Trait Implementations§
source§impl<'b> Clone for MsearchTemplateParts<'b>
impl<'b> Clone for MsearchTemplateParts<'b>
source§fn clone(&self) -> MsearchTemplateParts<'b>
fn clone(&self) -> MsearchTemplateParts<'b>
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<'b> Debug for MsearchTemplateParts<'b>
impl<'b> Debug for MsearchTemplateParts<'b>
source§impl<'b> PartialEq for MsearchTemplateParts<'b>
impl<'b> PartialEq for MsearchTemplateParts<'b>
source§fn eq(&self, other: &MsearchTemplateParts<'b>) -> bool
fn eq(&self, other: &MsearchTemplateParts<'b>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'b> Eq for MsearchTemplateParts<'b>
impl<'b> StructuralEq for MsearchTemplateParts<'b>
impl<'b> StructuralPartialEq for MsearchTemplateParts<'b>
Auto Trait Implementations§
impl<'b> RefUnwindSafe for MsearchTemplateParts<'b>
impl<'b> Send for MsearchTemplateParts<'b>
impl<'b> Sync for MsearchTemplateParts<'b>
impl<'b> Unpin for MsearchTemplateParts<'b>
impl<'b> UnwindSafe for MsearchTemplateParts<'b>
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.