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

fn cmp(&self, arg_0: &SchemeData) -> Ordering

impl PartialOrd for SchemeData

fn partial_cmp(&self, arg_0: &SchemeData) -> Option<Ordering>

fn lt(&self, arg_0: &SchemeData) -> bool

fn le(&self, arg_0: &SchemeData) -> bool

fn gt(&self, arg_0: &SchemeData) -> bool

fn ge(&self, arg_0: &SchemeData) -> bool

impl Hash for SchemeData

fn hash<__H: Hasher>(&self, arg_0: &mut __H)

1.3.0fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Debug for SchemeData

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

impl Clone for SchemeData

fn clone(&self) -> SchemeData

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

impl Eq for SchemeData

impl PartialEq for SchemeData

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

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