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