Struct elastic_responses::Shards
[−]
[src]
pub struct Shards { /* fields omitted */ }
Returned hits metadata.
Methods
impl Shards
[src]
fn total(&self) -> u32
The total number of shards that participated in this request.
fn successful(&self) -> u32
The total number of shards that successfully processed the request.
fn failed(&self) -> u32
The total number of shards that failed to process the request.
Trait Implementations
impl Debug for Shards
[src]
impl Clone for Shards
[src]
fn clone(&self) -> Shards
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more