pub struct NodeShard {
pub unassigned_info: Option<UnassignedInformation>,
pub shard: u32,
pub state: String,
pub index: String,
pub recovery_source: Option<Value>,
pub allocation_id: Option<Value>,
pub node: Option<String>,
pub primary: bool,
}Fields§
§unassigned_info: Option<UnassignedInformation>§shard: u32§state: String§index: String§recovery_source: Option<Value>§allocation_id: Option<Value>§node: Option<String>§primary: boolImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NodeShard
impl<'de> Deserialize<'de> for NodeShard
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
impl StructuralPartialEq for NodeShard
Auto Trait Implementations§
impl Freeze for NodeShard
impl RefUnwindSafe for NodeShard
impl Send for NodeShard
impl Sync for NodeShard
impl Unpin for NodeShard
impl UnsafeUnpin for NodeShard
impl UnwindSafe for NodeShard
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