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

Components for URLs in a relative scheme such as HTTP.

NonRelative

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 Display for SchemeData

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

Derived Implementations

impl Debug for SchemeData

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

impl Clone for SchemeData

fn clone(&self) -> SchemeData

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

impl Eq for SchemeData

fn assert_receiver_is_total_eq(&self)

impl PartialEq for SchemeData

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

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