Struct mail_headers::headers::ResentMsgId
source · pub struct ResentMsgId;
Expand description
(rfc5322)
Trait Implementations
sourceimpl Clone for ResentMsgId
impl Clone for ResentMsgId
sourcefn clone(&self) -> ResentMsgId
fn clone(&self) -> ResentMsgId
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Default for ResentMsgId
impl Default for ResentMsgId
sourcefn default() -> ResentMsgId
fn default() -> ResentMsgId
Returns the “default value” for a type. Read more
sourceimpl HeaderKind for ResentMsgId
impl HeaderKind for ResentMsgId
type Component = MessageId
type Component = MessageId
the component representing the header-field, e.g.
Unstructured
for Subject
sourcefn name() -> HeaderName
fn name() -> HeaderName
a method returning the header name Read more
sourceconst MAX_ONE: bool = false
const MAX_ONE: bool = false
I true this will assure that the header is at most one time in a header map. Read more
sourceconst VALIDATOR: Option<HeaderMapValidator> = _
const VALIDATOR: Option<HeaderMapValidator> = _
A function which is meant to be called with a reference
to the final header map before encoding the headers. It is
meant to be used do some of the contextual validations,
like e.g. a
From
header might return a function which
checks if the From
header has multiple mailboxes and
if so checks if there is a Sender
header Read moresourcefn auto_body<H>(body: H) -> Result<Header<Self>, ComponentCreationError>where
H: HeaderTryInto<Self::Component>,
fn auto_body<H>(body: H) -> Result<Header<Self>, ComponentCreationError>where
H: HeaderTryInto<Self::Component>,
Creates a
Header
instance automatically converting given body to the right type. Read moreimpl Copy for ResentMsgId
Auto Trait Implementations
impl RefUnwindSafe for ResentMsgId
impl Send for ResentMsgId
impl Sync for ResentMsgId
impl Unpin for ResentMsgId
impl UnwindSafe for ResentMsgId
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more