Struct validators::http_url::HttpUrlLocalableWithProtocol [−][src]
pub struct HttpUrlLocalableWithProtocol(_);
Methods
impl HttpUrlLocalableWithProtocol[src]
impl HttpUrlLocalableWithProtocolpub fn from_string(
full_http_url: String
) -> Result<HttpUrlLocalableWithProtocol, HttpUrlError>[src]
pub fn from_string(
full_http_url: String
) -> Result<HttpUrlLocalableWithProtocol, HttpUrlError>pub fn from_str(
full_http_url: &str
) -> Result<HttpUrlLocalableWithProtocol, HttpUrlError>[src]
pub fn from_str(
full_http_url: &str
) -> Result<HttpUrlLocalableWithProtocol, HttpUrlError>pub fn from_http_url(
http_url: HttpUrl
) -> Result<HttpUrlLocalableWithProtocol, HttpUrlError>[src]
pub fn from_http_url(
http_url: HttpUrl
) -> Result<HttpUrlLocalableWithProtocol, 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 HttpUrlLocalableWithProtocol[src]
impl HttpUrlLocalableWithProtocolpub 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 HttpUrlLocalableWithProtocol[src]
impl HttpUrlLocalableWithProtocolTrait Implementations
impl Clone for HttpUrlLocalableWithProtocol[src]
impl Clone for HttpUrlLocalableWithProtocolfn clone(&self) -> HttpUrlLocalableWithProtocol[src]
fn clone(&self) -> HttpUrlLocalableWithProtocolReturns 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<HttpUrlLocalableWithProtocol> for HttpUrl[src]
impl From<HttpUrlLocalableWithProtocol> for HttpUrlfn from(d: HttpUrlLocalableWithProtocol) -> Self[src]
fn from(d: HttpUrlLocalableWithProtocol) -> SelfPerforms the conversion.
impl Validated for HttpUrlLocalableWithProtocol[src]
impl Validated for HttpUrlLocalableWithProtocolimpl ValidatedWrapper for HttpUrlLocalableWithProtocol[src]
impl ValidatedWrapper for HttpUrlLocalableWithProtocoltype 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 HttpUrlLocalableWithProtocol[src]
impl Debug for HttpUrlLocalableWithProtocolfn 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 HttpUrlLocalableWithProtocol[src]
impl Display for HttpUrlLocalableWithProtocolfn 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 HttpUrlLocalableWithProtocol[src]
impl PartialEq for HttpUrlLocalableWithProtocolfn 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 HttpUrlLocalableWithProtocol[src]
impl PartialEq<HttpUrl> for HttpUrlLocalableWithProtocolAuto Trait Implementations
impl Send for HttpUrlLocalableWithProtocol
impl Send for HttpUrlLocalableWithProtocolimpl Sync for HttpUrlLocalableWithProtocol
impl Sync for HttpUrlLocalableWithProtocol