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

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]

fn name(&self) -> &str

Returns the doctype name.

fn public_id(&self) -> &str

Returns the doctype public ID.

fn system_id(&self) -> &str

Returns the doctype system ID.

Trait Implementations

impl Eq for Doctype
[src]

impl PartialEq for Doctype
[src]

fn eq(&self, __arg_0: &Doctype) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &Doctype) -> bool

This method tests for !=.

impl Clone for Doctype
[src]

fn clone(&self) -> Doctype

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl Debug for Doctype
[src]

fn fmt(&self, f: &mut Formatter) -> Result<()Error>

Formats the value using the given formatter.