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. Read more

impl Hash for SchemeData
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

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

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl Display for SchemeData
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for SchemeData

impl Sync for SchemeData