[−][src]Struct viaspf::record::DomainSpec
A domain specification.
Implementations
impl DomainSpec
[src]
pub fn new<M>(macro_string: M) -> Result<Self, MacroString> where
M: Into<MacroString>,
[src]
M: Into<MacroString>,
Creates a domain specification with the given macro string.
Errors
If the given argument is invalid, it is returned as the Err
variant.
Trait Implementations
impl AsRef<MacroString> for DomainSpec
[src]
pub fn as_ref(&self) -> &MacroString
[src]
impl Clone for DomainSpec
[src]
pub fn clone(&self) -> DomainSpec
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for DomainSpec
[src]
impl Display for DomainSpec
[src]
impl Eq for DomainSpec
[src]
impl From<DomainSpec> for MacroString
[src]
pub fn from(domain_spec: DomainSpec) -> Self
[src]
impl Hash for DomainSpec
[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<DomainSpec> for DomainSpec
[src]
pub fn eq(&self, other: &DomainSpec) -> bool
[src]
pub fn ne(&self, other: &DomainSpec) -> bool
[src]
impl StructuralEq for DomainSpec
[src]
impl StructuralPartialEq for DomainSpec
[src]
Auto Trait Implementations
impl RefUnwindSafe for DomainSpec
impl Send for DomainSpec
impl Sync for DomainSpec
impl Unpin for DomainSpec
impl UnwindSafe for DomainSpec
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
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.
pub 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>,