pub struct Shard {
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 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>
§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