pub struct RepoMetadata {
pub repo_path: PathBuf,
pub registered_at: SystemTime,
pub last_event: Option<SystemTime>,
pub status: RepoStatus,
pub pending_jobs: usize,
pub dirty_paths: Vec<PathBuf>,
pub generation: u64,
pub needs_reconciliation: Option<bool>,
pub last_watcher_token: Option<u64>,
}Expand description
Metadata tracked for every registered repository.
Fields§
§repo_path: PathBuf§registered_at: SystemTime§last_event: Option<SystemTime>§status: RepoStatus§pending_jobs: usize§dirty_paths: Vec<PathBuf>§generation: u64§needs_reconciliation: Option<bool>§last_watcher_token: Option<u64>Implementations§
Trait Implementations§
Source§impl Clone for RepoMetadata
impl Clone for RepoMetadata
Source§fn clone(&self) -> RepoMetadata
fn clone(&self) -> RepoMetadata
Returns a duplicate of the value. Read more
1.0.0 · 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 RepoMetadata
impl Debug for RepoMetadata
Source§impl PartialEq for RepoMetadata
impl PartialEq for RepoMetadata
impl Eq for RepoMetadata
impl StructuralPartialEq for RepoMetadata
Auto Trait Implementations§
impl Freeze for RepoMetadata
impl RefUnwindSafe for RepoMetadata
impl Send for RepoMetadata
impl Sync for RepoMetadata
impl Unpin for RepoMetadata
impl UnwindSafe for RepoMetadata
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