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: u32Total number of touched shards
successful: u32Total number of successful shards
skipped: u32Total number of skipped shards
failed: u32Total 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 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ShardStatistics
impl Debug for ShardStatistics
sourceimpl Default for ShardStatistics
impl Default 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
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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