Struct rustis::commands::LegacyClusterShardResult
source · pub struct LegacyClusterShardResult {
pub slot: (u16, u16),
pub nodes: Vec<LegacyClusterNodeResult>,
}
Expand description
Result for the cluster_slots
command.
Fields§
§slot: (u16, u16)
§nodes: Vec<LegacyClusterNodeResult>
Trait Implementations§
source§impl Debug for LegacyClusterShardResult
impl Debug for LegacyClusterShardResult
source§impl<'de> Deserialize<'de> for LegacyClusterShardResult
impl<'de> Deserialize<'de> for LegacyClusterShardResult
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 LegacyClusterShardResult
impl RefUnwindSafe for LegacyClusterShardResult
impl Send for LegacyClusterShardResult
impl Sync for LegacyClusterShardResult
impl Unpin for LegacyClusterShardResult
impl UnwindSafe for LegacyClusterShardResult
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