Struct validators::ipv6::IPv6Validator
source · pub struct IPv6Validator {
pub port: ValidatorOption,
pub local: ValidatorOption,
pub ipv4: ValidatorOption,
}
Fields§
§port: ValidatorOption
§local: ValidatorOption
§ipv4: ValidatorOption
Implementations§
source§impl IPv6Validator
impl IPv6Validator
pub fn is_ipv6(&self, full_ipv6: &str) -> bool
pub fn parse_string(&self, full_ipv6: String) -> IPv6Result
pub fn parse_str(&self, full_ipv6: &str) -> IPv6Result
Trait Implementations§
source§impl Debug for IPv6Validator
impl Debug for IPv6Validator
source§impl PartialEq<IPv6Validator> for IPv6Validator
impl PartialEq<IPv6Validator> for IPv6Validator
source§fn eq(&self, other: &IPv6Validator) -> bool
fn eq(&self, other: &IPv6Validator) -> bool
impl StructuralPartialEq for IPv6Validator
Auto Trait Implementations§
impl RefUnwindSafe for IPv6Validator
impl Send for IPv6Validator
impl Sync for IPv6Validator
impl Unpin for IPv6Validator
impl UnwindSafe for IPv6Validator
Blanket Implementations§
§impl<T> IntoCollection<T> for T
impl<T> IntoCollection<T> for T
§fn into_collection<A>(self) -> SmallVec<A>where
A: Array<Item = T>,
fn into_collection<A>(self) -> SmallVec<A>where
A: Array<Item = T>,
Converts
self
into a collection.