Struct linkcheck::validation::Outcomes[][src]

pub struct Outcomes {
    pub valid: Vec<Link>,
    pub invalid: Vec<InvalidLink>,
    pub ignored: Vec<Link>,
    pub unknown_category: Vec<Link>,
}
Expand description

The result of validating a batch of Links.

Fields

valid: Vec<Link>

Valid links.

invalid: Vec<InvalidLink>

Links which are broken.

ignored: Vec<Link>

Items that were explicitly ignored by the Context.

unknown_category: Vec<Link>

Links which we weren’t able to identify a suitable validator for.

Implementations

Create an empty set of Outcomes.

Merge two Outcomes.

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Extends a collection with the contents of an iterator. Read more

🔬 This is a nightly-only experimental API. (extend_one)

Extends a collection with exactly one element.

🔬 This is a nightly-only experimental API. (extend_one)

Reserves capacity in a collection for the given number of additional elements. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more