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