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

fn 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