pub struct LinkAnalysisResult {
pub broken_links: Vec<BrokenLink>,
pub linked_pages: HashSet<PageId>,
pub load_errors: Vec<PageLoadError>,
pub missing_attachments: Vec<MissingAttachment>,
pub edges: Vec<LinkEdge>,
}Expand description
Result of KnowledgeBaseIndex::scan_all_pages.
Fields§
§broken_links: Vec<BrokenLink>Links whose targets could not be resolved.
linked_pages: HashSet<PageId>Set of page ids that are linked to by at least one other page.
load_errors: Vec<PageLoadError>Pages that could not be loaded (e.g. corrupted JSON).
missing_attachments: Vec<MissingAttachment>Attachment references whose files are missing from disk.
edges: Vec<LinkEdge>Deduplicated directed link graph edges (self-links excluded).
Trait Implementations§
Source§impl Clone for LinkAnalysisResult
impl Clone for LinkAnalysisResult
Source§fn clone(&self) -> LinkAnalysisResult
fn clone(&self) -> LinkAnalysisResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for LinkAnalysisResult
impl RefUnwindSafe for LinkAnalysisResult
impl Send for LinkAnalysisResult
impl Sync for LinkAnalysisResult
impl Unpin for LinkAnalysisResult
impl UnsafeUnpin for LinkAnalysisResult
impl UnwindSafe for LinkAnalysisResult
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