pub struct IndicesPutAliasRequest<'a, B> {
pub url: Url<'a>,
pub body: B,
}
Expand description
Post: /{index}/_alias/{name}
Fields§
§url: Url<'a>
§body: B
Implementations§
Source§impl<'a, B> IndicesPutAliasRequest<'a, B>
impl<'a, B> IndicesPutAliasRequest<'a, B>
Trait Implementations§
Source§impl<'a, B: Clone> Clone for IndicesPutAliasRequest<'a, B>
impl<'a, B: Clone> Clone for IndicesPutAliasRequest<'a, B>
Source§fn clone(&self) -> IndicesPutAliasRequest<'a, B>
fn clone(&self) -> IndicesPutAliasRequest<'a, 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<'a, B: Debug> Debug for IndicesPutAliasRequest<'a, B>
impl<'a, B: Debug> Debug for IndicesPutAliasRequest<'a, B>
Source§impl<'a, B> Into<HttpRequest<'a, B>> for IndicesPutAliasRequest<'a, B>
impl<'a, B> Into<HttpRequest<'a, B>> for IndicesPutAliasRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
fn into(self) -> HttpRequest<'a, B>
Converts this type into the (usually inferred) input type.
Source§impl<'a, B: PartialEq> PartialEq for IndicesPutAliasRequest<'a, B>
impl<'a, B: PartialEq> PartialEq for IndicesPutAliasRequest<'a, B>
Source§fn eq(&self, other: &IndicesPutAliasRequest<'a, B>) -> bool
fn eq(&self, other: &IndicesPutAliasRequest<'a, B>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl<'a, B> StructuralPartialEq for IndicesPutAliasRequest<'a, B>
Auto Trait Implementations§
impl<'a, B> Freeze for IndicesPutAliasRequest<'a, B>where
B: Freeze,
impl<'a, B> RefUnwindSafe for IndicesPutAliasRequest<'a, B>where
B: RefUnwindSafe,
impl<'a, B> Send for IndicesPutAliasRequest<'a, B>where
B: Send,
impl<'a, B> Sync for IndicesPutAliasRequest<'a, B>where
B: Sync,
impl<'a, B> Unpin for IndicesPutAliasRequest<'a, B>where
B: Unpin,
impl<'a, B> UnwindSafe for IndicesPutAliasRequest<'a, B>where
B: UnwindSafe,
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