Struct elasticsearch_dsl::search::ShardStatistics
source · [−]pub struct ShardStatistics {
pub total: u32,
pub successful: u32,
pub skipped: u32,
pub failed: u32,
pub failures: Vec<ShardFailure>,
}
Expand description
Number of shards touched with their states
Fields
total: u32
Total number of touched shards
successful: u32
Total number of successful shards
skipped: u32
Total number of skipped shards
failed: u32
Total number of failed shards
failures: Vec<ShardFailure>
Partial response failures
Trait Implementations
sourceimpl Clone for ShardStatistics
impl Clone for ShardStatistics
sourcefn clone(&self) -> ShardStatistics
fn clone(&self) -> ShardStatistics
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ShardStatistics
impl Debug for ShardStatistics
sourceimpl<'de> Deserialize<'de> for ShardStatistics
impl<'de> Deserialize<'de> for ShardStatistics
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<ShardStatistics> for ShardStatistics
impl PartialEq<ShardStatistics> for ShardStatistics
sourcefn eq(&self, other: &ShardStatistics) -> bool
fn eq(&self, other: &ShardStatistics) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ShardStatistics) -> bool
fn ne(&self, other: &ShardStatistics) -> bool
This method tests for !=
.
sourceimpl Serialize for ShardStatistics
impl Serialize for ShardStatistics
impl StructuralPartialEq for ShardStatistics
Auto Trait Implementations
impl RefUnwindSafe for ShardStatistics
impl Send for ShardStatistics
impl Sync for ShardStatistics
impl Unpin for ShardStatistics
impl UnwindSafe for ShardStatistics
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more