pub struct RepoMetrics {
pub repo_path: PathBuf,
pub pending_jobs: usize,
}Expand description
Lightweight view into per-repository queue depth.
Fields§
§repo_path: PathBuf§pending_jobs: usizeTrait Implementations§
Source§impl Clone for RepoMetrics
impl Clone for RepoMetrics
Source§fn clone(&self) -> RepoMetrics
fn clone(&self) -> RepoMetrics
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 RepoMetrics
impl Debug for RepoMetrics
Source§impl<'de> Deserialize<'de> for RepoMetrics
impl<'de> Deserialize<'de> for RepoMetrics
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 RepoMetrics
impl PartialEq for RepoMetrics
Source§impl Serialize for RepoMetrics
impl Serialize for RepoMetrics
impl Eq for RepoMetrics
impl StructuralPartialEq for RepoMetrics
Auto Trait Implementations§
impl Freeze for RepoMetrics
impl RefUnwindSafe for RepoMetrics
impl Send for RepoMetrics
impl Sync for RepoMetrics
impl Unpin for RepoMetrics
impl UnwindSafe for RepoMetrics
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