[−][src]Struct validators::http_ftp_url::HttpFtpUrl
Methods
impl HttpFtpUrl
[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_ftp_url(&self) -> &str
[src]
pub fn get_full_http_ftp_url_without_query_and_fragment(&self) -> &str
[src]
pub fn is_https(&self) -> bool
[src]
pub fn is_http(&self) -> bool
[src]
pub fn is_ftp(&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_url(self) -> Result<HttpUrl, HttpUrlError>
[src]
Trait Implementations
impl Validated for HttpFtpUrl
[src]
impl Eq for HttpFtpUrl
[src]
impl Clone for HttpFtpUrl
[src]
fn clone(&self) -> HttpFtpUrl
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<HttpFtpUrl> for HttpFtpUrl
[src]
impl From<HttpFtpUrlLocalableWithProtocol> for HttpFtpUrl
[src]
fn from(d: HttpFtpUrlLocalableWithProtocol) -> Self
[src]
impl From<HttpFtpUrlUnlocalableWithProtocol> for HttpFtpUrl
[src]
fn from(d: HttpFtpUrlUnlocalableWithProtocol) -> Self
[src]
impl From<HttpFtpUrlLocalableWithoutProtocol> for HttpFtpUrl
[src]
fn from(d: HttpFtpUrlLocalableWithoutProtocol) -> Self
[src]
impl From<HttpFtpUrlUnlocalableWithoutProtocol> for HttpFtpUrl
[src]
fn from(d: HttpFtpUrlUnlocalableWithoutProtocol) -> Self
[src]
impl Hash for HttpFtpUrl
[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 HttpFtpUrl
[src]
impl Debug for HttpFtpUrl
[src]
impl Display for HttpFtpUrl
[src]
Auto Trait Implementations
impl Send for HttpFtpUrl
impl Unpin for HttpFtpUrl
impl Sync for HttpFtpUrl
impl UnwindSafe for HttpFtpUrl
impl RefUnwindSafe for HttpFtpUrl
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,