Struct validators::http_url::HttpUrlValidator [−][src]
pub struct HttpUrlValidator {
pub local: ValidatorOption,
pub protocol: ValidatorOption,
}Fields
local: ValidatorOption
protocol: ValidatorOption
Methods
impl HttpUrlValidator[src]
impl HttpUrlValidatorpub fn is_http_url(&self, full_http_url: &str) -> bool[src]
pub fn is_http_url(&self, full_http_url: &str) -> boolpub fn parse_string(&self, full_http_url: String) -> HttpUrlResult[src]
pub fn parse_string(&self, full_http_url: String) -> HttpUrlResultpub fn parse_str(&self, full_http_url: &str) -> HttpUrlResult[src]
pub fn parse_str(&self, full_http_url: &str) -> HttpUrlResultTrait Implementations
impl Debug for HttpUrlValidator[src]
impl Debug for HttpUrlValidatorfn 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 HttpUrlValidator[src]
impl PartialEq for HttpUrlValidatorfn eq(&self, other: &HttpUrlValidator) -> bool[src]
fn eq(&self, other: &HttpUrlValidator) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &HttpUrlValidator) -> bool[src]
fn ne(&self, other: &HttpUrlValidator) -> boolThis method tests for !=.
Auto Trait Implementations
impl Send for HttpUrlValidator
impl Send for HttpUrlValidatorimpl Sync for HttpUrlValidator
impl Sync for HttpUrlValidator