pub struct Shard {Show 15 fields
pub uid: String,
pub bdb_uid: u32,
pub node_uid: u32,
pub role: String,
pub status: String,
pub slots: Option<String>,
pub used_memory: Option<u64>,
pub backup_progress: Option<f64>,
pub import_progress: Option<f64>,
pub all_nodes: Option<Vec<u32>>,
pub assigned_slots: Option<String>,
pub client_cert_subject_validation_type: Option<String>,
pub redis_info: Option<Value>,
pub roles: Option<Vec<String>>,
pub extra: Value,
}
Expand description
Shard information
Fields§
§uid: String
§bdb_uid: u32
§node_uid: u32
§role: String
§status: String
§slots: Option<String>
§used_memory: Option<u64>
§backup_progress: Option<f64>
§import_progress: Option<f64>
§all_nodes: Option<Vec<u32>>
All nodes that this shard is associated with
assigned_slots: Option<String>
Assigned slots for this shard
client_cert_subject_validation_type: Option<String>
Client certificate subject validation type
redis_info: Option<Value>
Redis info for this shard
roles: Option<Vec<String>>
Roles assigned to this shard
extra: Value
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Shard
impl<'de> Deserialize<'de> for Shard
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 Shard
impl RefUnwindSafe for Shard
impl Send for Shard
impl Sync for Shard
impl Unpin for Shard
impl UnwindSafe for Shard
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