[][src]Struct validators::http_url::HttpUrlLocalableWithProtocol

pub struct HttpUrlLocalableWithProtocol(_);

Methods

impl HttpUrlLocalableWithProtocol[src]

impl HttpUrlLocalableWithProtocol[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_absolute(&self) -> bool[src]

impl HttpUrlLocalableWithProtocol[src]

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

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

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

Trait Implementations

impl Validated for HttpUrlLocalableWithProtocol[src]

impl ValidatedWrapper for HttpUrlLocalableWithProtocol[src]

type Error = HttpUrlError

impl Eq for HttpUrlLocalableWithProtocol[src]

impl Clone for HttpUrlLocalableWithProtocol[src]

impl PartialEq<HttpUrlLocalableWithProtocol> for HttpUrlLocalableWithProtocol[src]

impl From<HttpUrlLocalableWithProtocol> for HttpUrl[src]

impl Hash for HttpUrlLocalableWithProtocol[src]

impl Deref for HttpUrlLocalableWithProtocol[src]

type Target = str

The resulting type after dereferencing.

impl Debug for HttpUrlLocalableWithProtocol[src]

impl Display for HttpUrlLocalableWithProtocol[src]

impl FromStr for HttpUrlLocalableWithProtocol[src]

type Err = HttpUrlError

The associated error which can be returned from parsing.

impl<'a> FromParam<'a> for HttpUrlLocalableWithProtocol[src]

type Error = HttpUrlError

The associated error to be returned if parsing/validation fails.

impl<'a> FromFormValue<'a> for HttpUrlLocalableWithProtocol[src]

type Error = HttpUrlError

The associated error which can be returned from parsing. It is a good idea to have the return type be or contain an &'v str so that the unparseable string can be examined after a bad parse. Read more

impl Serialize for HttpUrlLocalableWithProtocol[src]

impl<'de> Deserialize<'de> for HttpUrlLocalableWithProtocol[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

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]