pub struct SyncStats {
pub total_sources: usize,
pub successful_sources: usize,
pub failed_sources: usize,
pub total_advisories_synced: usize,
pub errors: HashMap<String, String>,
}Expand description
Statistics for a sync operation.
Fields§
§total_sources: usizeTotal number of sources attempted.
successful_sources: usizeNumber of sources that synced successfully.
failed_sources: usizeNumber of sources that failed.
total_advisories_synced: usizeTotal advisories synced across all sources.
errors: HashMap<String, String>Map of source name to error message for failed sources.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SyncStats
impl RefUnwindSafe for SyncStats
impl Send for SyncStats
impl Sync for SyncStats
impl Unpin for SyncStats
impl UnwindSafe for SyncStats
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