pub struct ShardRebalanceResponse {
pub initiated: bool,
pub operation_id: String,
pub shards_affected: u32,
pub estimated_seconds: Option<u64>,
pub planned_moves: Vec<ShardMove>,
}Expand description
Response from POST /admin/cluster/shards/rebalance.
Fields§
§initiated: bool§operation_id: String§shards_affected: u32§estimated_seconds: Option<u64>§planned_moves: Vec<ShardMove>Trait Implementations§
Source§impl Clone for ShardRebalanceResponse
impl Clone for ShardRebalanceResponse
Source§fn clone(&self) -> ShardRebalanceResponse
fn clone(&self) -> ShardRebalanceResponse
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 ShardRebalanceResponse
impl Debug for ShardRebalanceResponse
Source§impl<'de> Deserialize<'de> for ShardRebalanceResponse
impl<'de> Deserialize<'de> for ShardRebalanceResponse
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
Auto Trait Implementations§
impl Freeze for ShardRebalanceResponse
impl RefUnwindSafe for ShardRebalanceResponse
impl Send for ShardRebalanceResponse
impl Sync for ShardRebalanceResponse
impl Unpin for ShardRebalanceResponse
impl UnsafeUnpin for ShardRebalanceResponse
impl UnwindSafe for ShardRebalanceResponse
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