[−][src]Struct elastic_requests::endpoints::CatShardsRequest
Get: /_cat/shards
Fields
url: UrlPath<'a>
Methods
impl<'a> CatShardsRequest<'a>
[src]
pub fn new() -> Self
[src]
Request to: /_cat/shards
pub fn for_index<IIndex>(index: IIndex) -> Self where
IIndex: Into<Index<'a>>,
[src]
IIndex: Into<Index<'a>>,
Request to: /_cat/shards/{index}
Trait Implementations
impl<'a> Into<Endpoint<'a, &'static [u8]>> for CatShardsRequest<'a>
[src]
fn into(self) -> Endpoint<'a, DefaultBody>
[src]
impl<'a> PartialEq<CatShardsRequest<'a>> for CatShardsRequest<'a>
[src]
fn eq(&self, other: &CatShardsRequest<'a>) -> bool
[src]
fn ne(&self, other: &CatShardsRequest<'a>) -> bool
[src]
impl<'a> Clone for CatShardsRequest<'a>
[src]
fn clone(&self) -> CatShardsRequest<'a>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'a> Debug for CatShardsRequest<'a>
[src]
Auto Trait Implementations
impl<'a> Send for CatShardsRequest<'a>
impl<'a> Sync for CatShardsRequest<'a>
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,