Enum url::Origin [] [src]

pub enum Origin {
    UID(OpaqueOrigin),
    Tuple(String, Host, u16),
}

The origin of the URL

Variants

UID

A globally unique identifier

Tuple

Consists of the URL's scheme, host and port

Trait Implementations

Derived Implementations

impl Debug for Origin

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

impl Clone for Origin

fn clone(&self) -> Origin

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

impl Eq for Origin

impl PartialEq for Origin

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

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