Struct elastic::client::requests::endpoints::IndicesSegmentsRequest
[−]
pub struct IndicesSegmentsRequest<'a> { pub url: Url<'a>, }
Get: /_segments
Fields
url: Url<'a>
Methods
impl<'a> IndicesSegmentsRequest<'a>
pub fn new() -> IndicesSegmentsRequest<'a>
Request to: /_segments
pub fn for_index<IIndex>(index: IIndex) -> IndicesSegmentsRequest<'a> where
IIndex: Into<Index<'a>>,
IIndex: Into<Index<'a>>,
Request to: /{index}/_segments
Trait Implementations
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for IndicesSegmentsRequest<'a>
fn into(self) -> HttpRequest<'a, &'static [u8]>
Performs the conversion.
impl<'a> PartialEq<IndicesSegmentsRequest<'a>> for IndicesSegmentsRequest<'a>
fn eq(&self, __arg_0: &IndicesSegmentsRequest<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &IndicesSegmentsRequest<'a>) -> bool
This method tests for !=
.
impl<'a> Clone for IndicesSegmentsRequest<'a>
fn clone(&self) -> IndicesSegmentsRequest<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more