Enum url::SchemeData [] [src]

pub enum SchemeData {
    Relative(RelativeSchemeData),
    NonRelative(String),
}

The components of the URL whose representation depends on where the scheme is relative.

Variants

Relative(RelativeSchemeData)

Components for URLs in a relative scheme such as HTTP.

NonRelative(String)

No further structure is assumed for non-relative schemes such as data and mailto.

This is a single percent-encoded string, whose interpretation depends on the scheme.

Percent encoded strings are within the ASCII range.

Trait Implementations

impl Debug for SchemeData
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for SchemeData
[src]

fn clone(&self) -> SchemeData

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 Eq for SchemeData
[src]

impl PartialEq for SchemeData
[src]

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

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

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

This method tests for !=.

impl Display for SchemeData
[src]

fn fmt(&self, formatter: &mut Formatter) -> Result

Formats the value using the given formatter.