Struct validators::http_url::HttpUrlUnlocalableWithProtocol [−][src]
pub struct HttpUrlUnlocalableWithProtocol(_);
Methods
impl HttpUrlUnlocalableWithProtocol[src]
impl HttpUrlUnlocalableWithProtocolpub fn from_string(
full_http_url: String
) -> Result<HttpUrlUnlocalableWithProtocol, HttpUrlError>[src]
pub fn from_string(
full_http_url: String
) -> Result<HttpUrlUnlocalableWithProtocol, HttpUrlError>pub fn from_str(
full_http_url: &str
) -> Result<HttpUrlUnlocalableWithProtocol, HttpUrlError>[src]
pub fn from_str(
full_http_url: &str
) -> Result<HttpUrlUnlocalableWithProtocol, HttpUrlError>pub fn from_http_url(
http_url: HttpUrl
) -> Result<HttpUrlUnlocalableWithProtocol, HttpUrlError>[src]
pub fn from_http_url(
http_url: HttpUrl
) -> Result<HttpUrlUnlocalableWithProtocol, HttpUrlError>pub fn into_http_url(self) -> HttpUrl[src]
pub fn into_http_url(self) -> HttpUrlpub fn as_http_url(&self) -> &HttpUrl[src]
pub fn as_http_url(&self) -> &HttpUrlimpl HttpUrlUnlocalableWithProtocol[src]
impl HttpUrlUnlocalableWithProtocolpub fn get_host(&self) -> &Host[src]
pub fn get_host(&self) -> &Hostpub fn get_path(&self) -> Option<&str>[src]
pub fn get_path(&self) -> Option<&str>pub fn get_query(&self) -> Option<&str>[src]
pub fn get_query(&self) -> Option<&str>pub fn get_fragment(&self) -> Option<&str>[src]
pub fn get_fragment(&self) -> Option<&str>pub fn get_full_http_url(&self) -> &str[src]
pub fn get_full_http_url(&self) -> &strpub fn get_full_http_url_without_query_and_fragment(&self) -> &str[src]
pub fn get_full_http_url_without_query_and_fragment(&self) -> &strpub fn is_https(&self) -> bool[src]
pub fn is_https(&self) -> boolimpl HttpUrlUnlocalableWithProtocol[src]
impl HttpUrlUnlocalableWithProtocolpub fn get_protocol(&self) -> &str[src]
pub fn get_protocol(&self) -> &strTrait Implementations
impl Clone for HttpUrlUnlocalableWithProtocol[src]
impl Clone for HttpUrlUnlocalableWithProtocolfn clone(&self) -> HttpUrlUnlocalableWithProtocol[src]
fn clone(&self) -> HttpUrlUnlocalableWithProtocolReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl From<HttpUrlUnlocalableWithProtocol> for HttpUrl[src]
impl From<HttpUrlUnlocalableWithProtocol> for HttpUrlfn from(d: HttpUrlUnlocalableWithProtocol) -> Self[src]
fn from(d: HttpUrlUnlocalableWithProtocol) -> SelfPerforms the conversion.
impl Validated for HttpUrlUnlocalableWithProtocol[src]
impl Validated for HttpUrlUnlocalableWithProtocolimpl ValidatedWrapper for HttpUrlUnlocalableWithProtocol[src]
impl ValidatedWrapper for HttpUrlUnlocalableWithProtocoltype Error = HttpUrlError
fn from_string(full_http_url: String) -> Result<Self, Self::Error>[src]
fn from_string(full_http_url: String) -> Result<Self, Self::Error>fn from_str(full_http_url: &str) -> Result<Self, Self::Error>[src]
fn from_str(full_http_url: &str) -> Result<Self, Self::Error>impl Debug for HttpUrlUnlocalableWithProtocol[src]
impl Debug for HttpUrlUnlocalableWithProtocolfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Display for HttpUrlUnlocalableWithProtocol[src]
impl Display for HttpUrlUnlocalableWithProtocolfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for HttpUrlUnlocalableWithProtocol[src]
impl PartialEq for HttpUrlUnlocalableWithProtocolfn eq(&self, other: &Self) -> bool[src]
fn eq(&self, other: &Self) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Self) -> bool[src]
fn ne(&self, other: &Self) -> boolThis method tests for !=.
impl PartialEq<HttpUrl> for HttpUrlUnlocalableWithProtocol[src]
impl PartialEq<HttpUrl> for HttpUrlUnlocalableWithProtocolAuto Trait Implementations
impl Send for HttpUrlUnlocalableWithProtocol
impl Send for HttpUrlUnlocalableWithProtocolimpl Sync for HttpUrlUnlocalableWithProtocol
impl Sync for HttpUrlUnlocalableWithProtocol