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

Components for URLs in a relative scheme such as HTTP.

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

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

This method tests for !=.

impl Eq for SchemeData
[src]

impl Clone for SchemeData
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for SchemeData
[src]

Formats the value using the given formatter.

impl Hash for SchemeData
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl PartialOrd for SchemeData
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Ord for SchemeData
[src]

This method returns an Ordering between self and other. Read more

impl Display for SchemeData
[src]

Formats the value using the given formatter.