[−][src]Struct validators::http_url::HttpUrl
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]
fn from(d: HttpUrlLocalableWithProtocol) -> Self
[src]
impl From<HttpUrlUnlocalableWithProtocol> for HttpUrl
[src]
fn from(d: HttpUrlUnlocalableWithProtocol) -> Self
[src]
impl From<HttpUrlLocalableWithoutProtocol> for HttpUrl
[src]
fn from(d: HttpUrlLocalableWithoutProtocol) -> Self
[src]
impl From<HttpUrlUnlocalableWithoutProtocol> for HttpUrl
[src]
fn from(d: HttpUrlUnlocalableWithoutProtocol) -> Self
[src]
impl Hash for HttpUrl
[src]
fn hash<H: Hasher>(&self, state: &mut H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Deref for HttpUrl
[src]
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]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> IntoCollection<T> for T
fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
A: Array<Item = T>,
fn mapped<U, F, A>(self, f: F) -> SmallVec<A> where
A: Array<Item = U>,
F: FnMut(T) -> U,
A: Array<Item = U>,
F: FnMut(T) -> U,
impl<T, I> AsResult<T, I> for T where
I: Input,
I: Input,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,