[][src]Struct validators::http_url::HttpUrl

pub struct HttpUrl { /* fields omitted */ }

Methods

impl HttpUrl[src]

pub fn get_protocol(&self) -> Option<&str>[src]

pub fn get_host(&self) -> &Host[src]

pub fn get_path(&self) -> Option<&str>[src]

pub fn get_query(&self) -> Option<&str>[src]

pub fn get_fragment(&self) -> Option<&str>[src]

pub fn get_full_http_url(&self) -> &str[src]

pub fn get_full_http_url_without_query_and_fragment(&self) -> &str[src]

pub fn is_https(&self) -> bool[src]

pub fn is_local(&self) -> bool[src]

pub fn is_absolute(&self) -> bool[src]

pub fn into_string(self) -> String[src]

pub fn into_http_ftp_url(self) -> HttpFtpUrl[src]

Trait Implementations

impl Validated for HttpUrl[src]

impl Eq for HttpUrl[src]

impl Clone for HttpUrl[src]

impl PartialEq<HttpUrl> for HttpUrl[src]

impl From<HttpUrlLocalableWithProtocol> for HttpUrl[src]

impl From<HttpUrlUnlocalableWithProtocol> for HttpUrl[src]

impl From<HttpUrlLocalableWithoutProtocol> for HttpUrl[src]

impl From<HttpUrlUnlocalableWithoutProtocol> for HttpUrl[src]

impl Hash for HttpUrl[src]

impl Deref for HttpUrl[src]

type Target = str

The resulting type after dereferencing.

impl Debug for HttpUrl[src]

impl Display for HttpUrl[src]

Auto Trait Implementations

impl Send for HttpUrl

impl Unpin for HttpUrl

impl Sync for HttpUrl

impl UnwindSafe for HttpUrl

impl RefUnwindSafe for HttpUrl

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

impl<T> IntoCollection<T> for T

impl<T, I> AsResult<T, I> for T where
    I: Input, 

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]