[][src]Struct scraper::node::Doctype

pub struct Doctype {
    pub name: StrTendril,
    pub public_id: StrTendril,
    pub system_id: StrTendril,
}

A doctype.

Fields

name: StrTendril

The doctype name.

public_id: StrTendril

The doctype public ID.

system_id: StrTendril

The doctype system ID.

Methods

impl Doctype[src]

pub fn name(&self) -> &str[src]

Returns the doctype name.

pub fn public_id(&self) -> &str[src]

Returns the doctype public ID.

pub fn system_id(&self) -> &str[src]

Returns the doctype system ID.

Trait Implementations

impl Clone for Doctype[src]

impl Eq for Doctype[src]

impl PartialEq<Doctype> for Doctype[src]

impl Debug for Doctype[src]

Auto Trait Implementations

impl !Send for Doctype

impl !Sync for Doctype

impl Unpin for Doctype

impl !RefUnwindSafe for Doctype

impl UnwindSafe for Doctype

Blanket Implementations

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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> Borrow<T> for T where
    T: ?Sized
[src]

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

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