pub struct Path<S = String> {
pub domains: Vec<Hostname<S>>,
}
Expand description
Note: for convenience this is not exactly like what is described by RFC5321, and it does not contain the Email. Indeed, paths are very rare nowadays.
Path
as defined here is what is specified in RFC5321 as A-d-l
Fields§
§domains: Vec<Hostname<S>>
Implementations§
Trait Implementations§
impl<S: Eq> Eq for Path<S>
impl<S> StructuralPartialEq for Path<S>
Auto Trait Implementations§
impl<S> Freeze for Path<S>
impl<S> RefUnwindSafe for Path<S>where
S: RefUnwindSafe,
impl<S> Send for Path<S>where
S: Send,
impl<S> Sync for Path<S>where
S: Sync,
impl<S> Unpin for Path<S>where
S: Unpin,
impl<S> UnwindSafe for Path<S>where
S: UnwindSafe,
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