#[non_exhaustive]pub struct RepoScan {
pub cache_dir: PathBuf,
pub repo: Option<CachedRepo>,
pub warnings: Vec<ScanWarning>,
}Expand description
Result of scanning one requested repository.
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.cache_dir: PathBufCache directory that was inspected.
repo: Option<CachedRepo>The repository, or None when it is not present in the cache.
warnings: Vec<ScanWarning>Non-fatal problems encountered during the scan.
Trait Implementations§
impl Eq for RepoScan
impl StructuralPartialEq for RepoScan
Auto Trait Implementations§
impl Freeze for RepoScan
impl RefUnwindSafe for RepoScan
impl Send for RepoScan
impl Sync for RepoScan
impl Unpin for RepoScan
impl UnsafeUnpin for RepoScan
impl UnwindSafe for RepoScan
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