pub struct CommandMoveAction {
pub shard: u32,
pub index: String,
pub to_node: String,
pub from_node: String,
}Fields§
§shard: u32§index: String§to_node: StringThe node to move the shard to
from_node: StringThe node to move the shard from
Implementations§
Trait Implementations§
Source§impl Clone for CommandMoveAction
impl Clone for CommandMoveAction
Source§fn clone(&self) -> CommandMoveAction
fn clone(&self) -> CommandMoveAction
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 CommandMoveAction
impl Debug for CommandMoveAction
Source§impl Default for CommandMoveAction
impl Default for CommandMoveAction
Source§fn default() -> CommandMoveAction
fn default() -> CommandMoveAction
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CommandMoveAction
impl<'de> Deserialize<'de> for CommandMoveAction
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 CommandMoveAction
impl PartialEq for CommandMoveAction
Source§fn eq(&self, other: &CommandMoveAction) -> bool
fn eq(&self, other: &CommandMoveAction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CommandMoveAction
impl Serialize for CommandMoveAction
impl StructuralPartialEq for CommandMoveAction
Auto Trait Implementations§
impl Freeze for CommandMoveAction
impl RefUnwindSafe for CommandMoveAction
impl Send for CommandMoveAction
impl Sync for CommandMoveAction
impl Unpin for CommandMoveAction
impl UnsafeUnpin for CommandMoveAction
impl UnwindSafe for CommandMoveAction
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