Struct mdbook_linkcheck::errors::UnsuccessfulStatus [−][src]
pub struct UnsuccessfulStatus { pub url: Url, pub code: StatusCode, pub chapter: PathBuf, pub line: usize, }
Received an unsuccessful status code when fetching a resource from the internet.
Fields
url: Url
code: StatusCode
chapter: PathBuf
line: usize
Trait Implementations
impl BrokenLink for UnsuccessfulStatus
[src]
impl BrokenLink for UnsuccessfulStatus
fn line(&self) -> usize
[src]
fn line(&self) -> usize
The line this error occurred on.
fn chapter(&self) -> &Path
[src]
fn chapter(&self) -> &Path
Which chapter it was in.
fn as_fail(&self) -> &Fail
[src]
fn as_fail(&self) -> &Fail
impl Debug for UnsuccessfulStatus
[src]
impl Debug for UnsuccessfulStatus
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for UnsuccessfulStatus
[src]
impl Clone for UnsuccessfulStatus
fn clone(&self) -> UnsuccessfulStatus
[src]
fn clone(&self) -> UnsuccessfulStatus
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for UnsuccessfulStatus
[src]
impl PartialEq for UnsuccessfulStatus
fn eq(&self, other: &UnsuccessfulStatus) -> bool
[src]
fn eq(&self, other: &UnsuccessfulStatus) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &UnsuccessfulStatus) -> bool
[src]
fn ne(&self, other: &UnsuccessfulStatus) -> bool
This method tests for !=
.
impl Display for UnsuccessfulStatus
[src]
impl Display for UnsuccessfulStatus
Auto Trait Implementations
impl Send for UnsuccessfulStatus
impl Send for UnsuccessfulStatus
impl Sync for UnsuccessfulStatus
impl Sync for UnsuccessfulStatus