Struct redis_driver::ClusterShardResult
source · pub struct ClusterShardResult {
pub slots: Vec<(u16, u16)>,
pub nodes: Vec<ClusterNodeResult>,
}
Expand description
Result for the cluster_shards
command.
Fields
slots: Vec<(u16, u16)>
nodes: Vec<ClusterNodeResult>
Trait Implementations
sourceimpl Debug for ClusterShardResult
impl Debug for ClusterShardResult
Auto Trait Implementations
impl RefUnwindSafe for ClusterShardResult
impl Send for ClusterShardResult
impl Sync for ClusterShardResult
impl Unpin for ClusterShardResult
impl UnwindSafe for ClusterShardResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more