[−][src]Struct validators::http_ftp_url::HttpFtpUrlUnlocalableWithProtocol
Implementations
impl HttpFtpUrlUnlocalableWithProtocol[src]
pub fn from_string(
full_http_ftp_url: String
) -> Result<HttpFtpUrlUnlocalableWithProtocol, HttpFtpUrlError>[src]
full_http_ftp_url: String
) -> Result<HttpFtpUrlUnlocalableWithProtocol, HttpFtpUrlError>
pub fn from_str(
full_http_ftp_url: &str
) -> Result<HttpFtpUrlUnlocalableWithProtocol, HttpFtpUrlError>[src]
full_http_ftp_url: &str
) -> Result<HttpFtpUrlUnlocalableWithProtocol, HttpFtpUrlError>
pub fn from_http_ftp_url(
http_ftp_url: HttpFtpUrl
) -> Result<HttpFtpUrlUnlocalableWithProtocol, HttpFtpUrlError>[src]
http_ftp_url: HttpFtpUrl
) -> Result<HttpFtpUrlUnlocalableWithProtocol, HttpFtpUrlError>
pub fn into_http_ftp_url(self) -> HttpFtpUrl[src]
pub fn as_http_ftp_url(&self) -> &HttpFtpUrl[src]
impl HttpFtpUrlUnlocalableWithProtocol[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_absolute(&self) -> bool[src]
impl HttpFtpUrlUnlocalableWithProtocol[src]
pub fn get_protocol(&self) -> &str[src]
pub fn is_https(&self) -> bool[src]
pub fn is_http(&self) -> bool[src]
pub fn is_ftp(&self) -> bool[src]
Trait Implementations
impl Clone for HttpFtpUrlUnlocalableWithProtocol[src]
fn clone(&self) -> HttpFtpUrlUnlocalableWithProtocol[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for HttpFtpUrlUnlocalableWithProtocol[src]
impl Deref for HttpFtpUrlUnlocalableWithProtocol[src]
impl<'de> Deserialize<'de> for HttpFtpUrlUnlocalableWithProtocol[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>, [src]
D: Deserializer<'de>,
impl Display for HttpFtpUrlUnlocalableWithProtocol[src]
impl Eq for HttpFtpUrlUnlocalableWithProtocol[src]
impl From<HttpFtpUrlUnlocalableWithProtocol> for HttpFtpUrl[src]
fn from(d: HttpFtpUrlUnlocalableWithProtocol) -> Self[src]
impl<'a> FromFormValue<'a> for HttpFtpUrlUnlocalableWithProtocol[src]
type Error = HttpFtpUrlError
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
fn from_form_value(form_value: &'a RawStr) -> Result<Self, Self::Error>[src]
fn default() -> Option<Self>[src]
impl<'a> FromParam<'a> for HttpFtpUrlUnlocalableWithProtocol[src]
type Error = HttpFtpUrlError
The associated error to be returned if parsing/validation fails.
fn from_param(param: &'a RawStr) -> Result<Self, Self::Error>[src]
impl FromStr for HttpFtpUrlUnlocalableWithProtocol[src]
type Err = HttpFtpUrlError
The associated error which can be returned from parsing.
fn from_str(
s: &str
) -> Result<HttpFtpUrlUnlocalableWithProtocol, HttpFtpUrlError>[src]
s: &str
) -> Result<HttpFtpUrlUnlocalableWithProtocol, HttpFtpUrlError>
impl Hash for HttpFtpUrlUnlocalableWithProtocol[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 PartialEq<HttpFtpUrlUnlocalableWithProtocol> for HttpFtpUrlUnlocalableWithProtocol[src]
fn eq(&self, other: &HttpFtpUrlUnlocalableWithProtocol) -> bool[src]
fn ne(&self, other: &HttpFtpUrlUnlocalableWithProtocol) -> bool[src]
impl Serialize for HttpFtpUrlUnlocalableWithProtocol[src]
impl StructuralEq for HttpFtpUrlUnlocalableWithProtocol[src]
impl StructuralPartialEq for HttpFtpUrlUnlocalableWithProtocol[src]
impl Validated for HttpFtpUrlUnlocalableWithProtocol[src]
impl ValidatedWrapper for HttpFtpUrlUnlocalableWithProtocol[src]
Auto Trait Implementations
impl RefUnwindSafe for HttpFtpUrlUnlocalableWithProtocol
impl Send for HttpFtpUrlUnlocalableWithProtocol
impl Sync for HttpFtpUrlUnlocalableWithProtocol
impl Unpin for HttpFtpUrlUnlocalableWithProtocol
impl UnwindSafe for HttpFtpUrlUnlocalableWithProtocol
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T, I> AsResult<T, I> for T where
I: Input,
I: Input,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized, [src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
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> Same<T> for T
type Output = T
Should always be Self
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> 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> Typeable for T where
T: Any,
T: Any,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,