[−][src]Struct validators::mac_address::MacAddress
Methods
impl MacAddress
[src]
pub fn get_full_mac_address(&self) -> &str
[src]
pub fn has_lowercase(&self) -> bool
[src]
pub fn has_uppercase(&self) -> bool
[src]
pub fn has_both_case(&self) -> bool
[src]
pub fn has_colon(&self) -> bool
[src]
pub fn into_string(self) -> String
[src]
Trait Implementations
impl Validated for MacAddress
[src]
impl From<MacAddressAllowAnyCaseWithColon> for MacAddress
[src]
fn from(d: MacAddressAllowAnyCaseWithColon) -> Self
[src]
impl From<MacAddressAllowAnyCaseWithoutColon> for MacAddress
[src]
fn from(d: MacAddressAllowAnyCaseWithoutColon) -> Self
[src]
impl From<MacAddressAllowAnyCaseAllowColon> for MacAddress
[src]
fn from(d: MacAddressAllowAnyCaseAllowColon) -> Self
[src]
impl From<MacAddressUpperCaseWithColon> for MacAddress
[src]
fn from(d: MacAddressUpperCaseWithColon) -> Self
[src]
impl From<MacAddressUpperCaseWithoutColon> for MacAddress
[src]
fn from(d: MacAddressUpperCaseWithoutColon) -> Self
[src]
impl From<MacAddressUpperCaseAllowColon> for MacAddress
[src]
fn from(d: MacAddressUpperCaseAllowColon) -> Self
[src]
impl From<MacAddressLowerCaseWithColon> for MacAddress
[src]
fn from(d: MacAddressLowerCaseWithColon) -> Self
[src]
impl From<MacAddressLowerCaseWithoutColon> for MacAddress
[src]
fn from(d: MacAddressLowerCaseWithoutColon) -> Self
[src]
impl From<MacAddressLowerCaseAllowColon> for MacAddress
[src]
fn from(d: MacAddressLowerCaseAllowColon) -> Self
[src]
impl PartialEq<MacAddress> for MacAddress
[src]
impl Clone for MacAddress
[src]
fn clone(&self) -> MacAddress
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for MacAddress
[src]
impl Deref for MacAddress
[src]
impl Display for MacAddress
[src]
impl Debug for MacAddress
[src]
impl Hash for MacAddress
[src]
Auto Trait Implementations
impl Unpin for MacAddress
impl Sync for MacAddress
impl Send for MacAddress
impl RefUnwindSafe for MacAddress
impl UnwindSafe for MacAddress
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> IntoCollection<T> for T
fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
A: Array<Item = T>,
fn mapped<U, F, A>(self, f: F) -> SmallVec<A> where
A: Array<Item = U>,
F: FnMut(T) -> U,
A: Array<Item = U>,
F: FnMut(T) -> U,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T, I> AsResult<T, I> for T where
I: Input,
I: Input,