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§
Source§impl Clone for ShardStatistics
impl Clone for ShardStatistics
Source§fn clone(&self) -> ShardStatistics
fn clone(&self) -> ShardStatistics
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ShardStatistics
impl Debug for ShardStatistics
Source§impl Default for ShardStatistics
impl Default for ShardStatistics
Source§impl<'de> Deserialize<'de> for ShardStatistics
impl<'de> Deserialize<'de> for ShardStatistics
Source§fn 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
Source§impl PartialEq for ShardStatistics
impl PartialEq for ShardStatistics
Source§impl Serialize for ShardStatistics
impl Serialize for ShardStatistics
impl StructuralPartialEq for ShardStatistics
Auto Trait Implementations§
impl Freeze for ShardStatistics
impl RefUnwindSafe for ShardStatistics
impl Send for ShardStatistics
impl Sync for ShardStatistics
impl Unpin for ShardStatistics
impl UnwindSafe for ShardStatistics
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more