Struct elasticsearch_dsl::search::ShardFailure
source · [−]pub struct ShardFailure {
pub index: Option<String>,
pub node: Option<String>,
pub status: Option<String>,
pub shard: Option<u32>,
pub reason: Option<ErrorCause>,
}
Expand description
Shard failure details
Fields
index: Option<String>
Index name
node: Option<String>
Node name
status: Option<String>
Status
shard: Option<u32>
Shard
reason: Option<ErrorCause>
Reason
Trait Implementations
sourceimpl Clone for ShardFailure
impl Clone for ShardFailure
sourcefn clone(&self) -> ShardFailure
fn clone(&self) -> ShardFailure
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 ShardFailure
impl Debug for ShardFailure
sourceimpl<'de> Deserialize<'de> for ShardFailure
impl<'de> Deserialize<'de> for ShardFailure
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<ShardFailure> for ShardFailure
impl PartialEq<ShardFailure> for ShardFailure
sourcefn eq(&self, other: &ShardFailure) -> bool
fn eq(&self, other: &ShardFailure) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ShardFailure) -> bool
fn ne(&self, other: &ShardFailure) -> bool
This method tests for !=
.
sourceimpl Serialize for ShardFailure
impl Serialize for ShardFailure
impl StructuralPartialEq for ShardFailure
Auto Trait Implementations
impl RefUnwindSafe for ShardFailure
impl Send for ShardFailure
impl Sync for ShardFailure
impl Unpin for ShardFailure
impl UnwindSafe for ShardFailure
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