pub struct ProjectStats {
pub project_key: String,
pub file_count: i64,
pub deleted_count: i64,
pub sources: Vec<String>,
pub last_updated_at: String,
}Expand description
One project’s row in AdminStats.
Fields§
§project_key: StringThe key the project syncs under.
file_count: i64Live files, tombstones excluded.
deleted_count: i64Tombstoned files, which still hold their last known content.
sources: Vec<String>Every machine that has written to this project.
last_updated_at: StringThe newest updated_at across the project’s files.
Trait Implementations§
Source§impl Clone for ProjectStats
impl Clone for ProjectStats
Source§impl Debug for ProjectStats
impl Debug for ProjectStats
Source§impl Default for ProjectStats
impl Default for ProjectStats
Source§impl<'de> Deserialize<'de> for ProjectStats
impl<'de> Deserialize<'de> for ProjectStats
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
Source§impl PartialEq for ProjectStats
impl PartialEq for ProjectStats
Source§impl Serialize for ProjectStats
impl Serialize for ProjectStats
impl StructuralPartialEq for ProjectStats
Auto Trait Implementations§
impl Freeze for ProjectStats
impl RefUnwindSafe for ProjectStats
impl Send for ProjectStats
impl Sync for ProjectStats
impl Unpin for ProjectStats
impl UnsafeUnpin for ProjectStats
impl UnwindSafe for ProjectStats
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