Struct mdbook_linkcheck::ValidationOutcome
source · [−]pub struct ValidationOutcome {
pub valid_links: Vec<Link>,
pub invalid_links: Vec<InvalidLink>,
pub ignored: Vec<Link>,
pub unknown_category: Vec<Link>,
pub incomplete_links: Vec<IncompleteLink>,
}
Expand description
The outcome of validating a set of links.
Fields
valid_links: Vec<Link>
Valid links.
invalid_links: Vec<InvalidLink>
Links where validation failed.
ignored: Vec<Link>
Links which have been ignored (e.g. due to
Config::follow_web_links
).
unknown_category: Vec<Link>
Links which we don’t know how to handle.
incomplete_links: Vec<IncompleteLink>
Potentially incomplete links.
Implementations
sourceimpl ValidationOutcome
impl ValidationOutcome
sourcepub fn generate_diagnostics(
&self,
files: &Files<String>,
warning_policy: WarningPolicy
) -> Vec<Diagnostic<FileId>>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
pub fn generate_diagnostics(
&self,
files: &Files<String>,
warning_policy: WarningPolicy
) -> Vec<Diagnostic<FileId>>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
Generate a list of Diagnostic
messages from this
ValidationOutcome
.
Trait Implementations
sourceimpl Debug for ValidationOutcome
impl Debug for ValidationOutcome
sourceimpl Default for ValidationOutcome
impl Default for ValidationOutcome
sourcefn default() -> ValidationOutcome
fn default() -> ValidationOutcome
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl !RefUnwindSafe for ValidationOutcome
impl Send for ValidationOutcome
impl Sync for ValidationOutcome
impl Unpin for ValidationOutcome
impl !UnwindSafe for ValidationOutcome
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more