pub struct Domain(/* private fields */);
Expand description
represents a Domain
Note that currently no parse is implemented for Domain
,
i.e. validation has to be done by the user converting their
representation to out using from_unchecked
.
Note that the domain is expected to be ascii non ascii strings should be puny encoded.
Implementations§
Trait Implementations§
impl Eq for Domain
impl StructuralPartialEq for Domain
Auto Trait Implementations§
impl Freeze for Domain
impl RefUnwindSafe for Domain
impl Send for Domain
impl Sync for Domain
impl Unpin for Domain
impl UnwindSafe for Domain
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more