#[non_exhaustive]pub struct StoreStats {
pub key: String,
pub base: Option<String>,
pub namespaces: Vec<NamespaceStats>,
pub bytes: u64,
pub modified: Option<SystemTime>,
pub readable: bool,
}Expand description
One store of a location, as stats reports it.
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.key: StringThe store’s directory name, its base key.
base: Option<String>The base it belongs to (git:<the repository's git directory>:<path in the repository> or
path:<absolute path>), when recorded.
namespaces: Vec<NamespaceStats>Its namespaces, by name.
bytes: u64The size of every file in it.
modified: Option<SystemTime>When a file in it was last written.
readable: boolWhether its directory could be read; the sizes and namespaces of one that could not are unknown.
Trait Implementations§
Source§impl Clone for StoreStats
impl Clone for StoreStats
Source§impl Debug for StoreStats
impl Debug for StoreStats
impl Eq for StoreStats
Source§impl PartialEq for StoreStats
impl PartialEq for StoreStats
impl StructuralPartialEq for StoreStats
Auto Trait Implementations§
impl Forget for StoreStats
impl Freeze for StoreStats
impl Move for StoreStats
impl RefUnwindSafe for StoreStats
impl Send for StoreStats
impl Sync for StoreStats
impl Unpin for StoreStats
impl UnsafeUnpin for StoreStats
impl UnwindSafe for StoreStats
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.