Struct linkcheck::BasicContext [−][src]
pub struct BasicContext {
pub options: Options,
// some fields omitted
}
Expand description
A basic Context
implementation which uses all the defaults.
Fields
options: Options
Options used when validating filesystem links.
Implementations
The User-Agent used by the BasicContext::client()
.
Create a BasicContext
with an already initialized Client
.
👎 Deprecated: Access the field directly instead
Access the field directly instead
Get a mutable reference to the Options
used when validating
filesystem links.
Trait Implementations
Options to use when checking a link on the filesystem.
An optional cache that can be used to avoid unnecessary network requests. Read more
Get any extra headers that should be sent when checking this Url
.
How many items should we check at a time?
How long should a cached item be considered valid for before we need to check again? Read more
Should this Link
be skipped?
Auto Trait Implementations
impl !RefUnwindSafe for BasicContext
impl !Send for BasicContext
impl !Sync for BasicContext
impl Unpin for BasicContext
impl !UnwindSafe for BasicContext
Blanket Implementations
Mutably borrows from an owned value. Read more
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