pub struct ScanResult {
pub discovered: Vec<DiscoveredModel>,
pub issues: Vec<String>,
pub failed_kinds: Vec<SourceKind>,
}Expand description
The outcome of scanning one or more stores: the models found, free-text issues (a store was reachable but a single entry was malformed), and the set of source kinds whose scan failed wholesale (unreadable root).
Fields§
§discovered: Vec<DiscoveredModel>The models found across the scanned stores.
issues: Vec<String>Non-fatal issues (one bad entry, an unreadable sidecar) worth surfacing.
failed_kinds: Vec<SourceKind>Source kinds whose scan failed entirely (e.g. an unreadable root).
Trait Implementations§
Source§impl Clone for ScanResult
impl Clone for ScanResult
Source§impl Debug for ScanResult
impl Debug for ScanResult
Source§impl Default for ScanResult
impl Default for ScanResult
Source§impl PartialEq for ScanResult
impl PartialEq for ScanResult
impl StructuralPartialEq for ScanResult
Auto Trait Implementations§
impl Freeze for ScanResult
impl RefUnwindSafe for ScanResult
impl Send for ScanResult
impl Sync for ScanResult
impl Unpin for ScanResult
impl UnsafeUnpin for ScanResult
impl UnwindSafe for ScanResult
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