Struct validators::http_url::HttpUrlLocalableWithProtocol [−][src]
pub struct HttpUrlLocalableWithProtocol(_);
Methods
impl HttpUrlLocalableWithProtocol
[src]
impl HttpUrlLocalableWithProtocol
pub 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) -> HttpUrl
pub fn as_http_url(&self) -> &HttpUrl
[src]
pub fn as_http_url(&self) -> &HttpUrl
impl HttpUrlLocalableWithProtocol
[src]
impl HttpUrlLocalableWithProtocol
pub fn get_host(&self) -> &Host
[src]
pub fn get_host(&self) -> &Host
pub 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) -> &str
pub fn get_full_http_url_without_query_and_fragment(&self) -> &str
[src]
pub fn get_full_http_url_without_query_and_fragment(&self) -> &str
pub fn is_https(&self) -> bool
[src]
pub fn is_https(&self) -> bool
impl HttpUrlLocalableWithProtocol
[src]
impl HttpUrlLocalableWithProtocol
Trait Implementations
impl Clone for HttpUrlLocalableWithProtocol
[src]
impl Clone for HttpUrlLocalableWithProtocol
fn clone(&self) -> HttpUrlLocalableWithProtocol
[src]
fn clone(&self) -> HttpUrlLocalableWithProtocol
Returns 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 HttpUrl
fn from(d: HttpUrlLocalableWithProtocol) -> Self
[src]
fn from(d: HttpUrlLocalableWithProtocol) -> Self
Performs the conversion.
impl Validated for HttpUrlLocalableWithProtocol
[src]
impl Validated for HttpUrlLocalableWithProtocol
impl ValidatedWrapper for HttpUrlLocalableWithProtocol
[src]
impl ValidatedWrapper for HttpUrlLocalableWithProtocol
type 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 HttpUrlLocalableWithProtocol
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for HttpUrlLocalableWithProtocol
[src]
impl Display for HttpUrlLocalableWithProtocol
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for HttpUrlLocalableWithProtocol
[src]
impl PartialEq for HttpUrlLocalableWithProtocol
fn eq(&self, other: &Self) -> bool
[src]
fn eq(&self, other: &Self) -> bool
This 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) -> bool
This method tests for !=
.
impl PartialEq<HttpUrl> for HttpUrlLocalableWithProtocol
[src]
impl PartialEq<HttpUrl> for HttpUrlLocalableWithProtocol
Auto Trait Implementations
impl Send for HttpUrlLocalableWithProtocol
impl Send for HttpUrlLocalableWithProtocol
impl Sync for HttpUrlLocalableWithProtocol
impl Sync for HttpUrlLocalableWithProtocol