[][src]Struct mdbook_linkcheck::Config

pub struct Config {
    pub follow_web_links: bool,
    pub traverse_parent_directories: bool,
    pub exclude: Vec<Regex>,
}

The configuration options available with this backend.

Fields

follow_web_links: bool

If a link on the internet is encountered, should we still try to check if it's valid? Defaults to false because this has a big performance impact.

traverse_parent_directories: bool

Are we allowed to link to files outside of the book's source directory?

exclude: Vec<Regex>

Methods

impl Config[src]

pub fn should_skip(&self, link: &str) -> bool[src]

Trait Implementations

impl PartialEq<Config> for Config[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl Clone for Config[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Default for Config[src]

impl Debug for Config[src]

impl Serialize for Config[src]

impl<'de> Deserialize<'de> for Config where
    Config: Default
[src]

Auto Trait Implementations

impl Send for Config

impl Sync for Config

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err