#[non_exhaustive]pub struct ShardLoading {
pub progress: Option<f64>,
pub status: Option<String>,
pub additional_fields: BTreeMap<String, Value>,
}Expand description
Current shard dump-file loading state.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.progress: Option<f64>Percentage of bytes already loaded (0-100).
status: Option<String>Load status (in_progress or idle).
additional_fields: BTreeMap<String, Value>Additive or version-specific loading fields.
Trait Implementations§
Source§impl Clone for ShardLoading
impl Clone for ShardLoading
Source§fn clone(&self) -> ShardLoading
fn clone(&self) -> ShardLoading
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 ShardLoading
impl Debug for ShardLoading
Source§impl<'de> Deserialize<'de> for ShardLoading
impl<'de> Deserialize<'de> for ShardLoading
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 ShardLoading
impl RefUnwindSafe for ShardLoading
impl Send for ShardLoading
impl Sync for ShardLoading
impl Unpin for ShardLoading
impl UnsafeUnpin for ShardLoading
impl UnwindSafe for ShardLoading
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