pub struct AllocationExplainResponse {Show 25 fields
pub current_state: String,
pub can_rebalance_cluster_decisions: Option<Vec<AllocationDecision>>,
pub can_allocate: Option<String>,
pub can_remain_decisions: Option<Vec<AllocationDecision>>,
pub move_explanation: Option<String>,
pub unassigned_info: Option<UnassignedInformation>,
pub can_move_to_other_node: Option<String>,
pub configured_delay: Option<String>,
pub allocate_explanation: Option<String>,
pub can_remain_on_current_node: Option<String>,
pub can_rebalance_to_other_node: Option<String>,
pub cluster_info: Option<ClusterInfo>,
pub node_allocation_decisions: Option<Vec<NodeAllocationExplanation>>,
pub allocation_delay: Option<String>,
pub allocation_delay_in_millis: Option<String>,
pub can_rebalance_cluster: Option<String>,
pub note: Option<String>,
pub index: String,
pub remaining_delay: Option<String>,
pub configured_delay_in_millis: Option<String>,
pub remaining_delay_in_millis: Option<String>,
pub primary: bool,
pub rebalance_explanation: Option<String>,
pub current_node: Option<CurrentNode>,
pub shard: u32,
}Fields§
§current_state: String§can_rebalance_cluster_decisions: Option<Vec<AllocationDecision>>§can_allocate: Option<String>§can_remain_decisions: Option<Vec<AllocationDecision>>§move_explanation: Option<String>§unassigned_info: Option<UnassignedInformation>§can_move_to_other_node: Option<String>§configured_delay: Option<String>A duration. Units can be nanos, micros, ms (milliseconds), s (seconds), m (minutes), h (hours) and
d (days). Also accepts “0” without a unit and “-1” to indicate an unspecified value.
allocate_explanation: Option<String>§can_remain_on_current_node: Option<String>§can_rebalance_to_other_node: Option<String>§cluster_info: Option<ClusterInfo>§node_allocation_decisions: Option<Vec<NodeAllocationExplanation>>§allocation_delay: Option<String>A duration. Units can be nanos, micros, ms (milliseconds), s (seconds), m (minutes), h (hours) and
d (days). Also accepts “0” without a unit and “-1” to indicate an unspecified value.
allocation_delay_in_millis: Option<String>§can_rebalance_cluster: Option<String>§note: Option<String>§index: String§remaining_delay: Option<String>A duration. Units can be nanos, micros, ms (milliseconds), s (seconds), m (minutes), h (hours) and
d (days). Also accepts “0” without a unit and “-1” to indicate an unspecified value.
configured_delay_in_millis: Option<String>§remaining_delay_in_millis: Option<String>§primary: bool§rebalance_explanation: Option<String>§current_node: Option<CurrentNode>§shard: u32Implementations§
Trait Implementations§
Source§impl Clone for AllocationExplainResponse
impl Clone for AllocationExplainResponse
Source§fn clone(&self) -> AllocationExplainResponse
fn clone(&self) -> AllocationExplainResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AllocationExplainResponse
impl Debug for AllocationExplainResponse
Source§impl Default for AllocationExplainResponse
impl Default for AllocationExplainResponse
Source§fn default() -> AllocationExplainResponse
fn default() -> AllocationExplainResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AllocationExplainResponse
impl<'de> Deserialize<'de> for AllocationExplainResponse
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 AllocationExplainResponse
impl PartialEq for AllocationExplainResponse
Source§fn eq(&self, other: &AllocationExplainResponse) -> bool
fn eq(&self, other: &AllocationExplainResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AllocationExplainResponse
Auto Trait Implementations§
impl Freeze for AllocationExplainResponse
impl RefUnwindSafe for AllocationExplainResponse
impl Send for AllocationExplainResponse
impl Sync for AllocationExplainResponse
impl Unpin for AllocationExplainResponse
impl UnsafeUnpin for AllocationExplainResponse
impl UnwindSafe for AllocationExplainResponse
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