pub enum HeaderDef {
Show 44 variants
MessageId,
Subject,
Date,
From_,
To,
Cc,
Disposition,
OriginalMessageId,
AdditionalMessageIds,
XMicrosoftOriginalMessageId,
XMozillaDraftInfo,
ListId,
ListPost,
ListHelp,
References,
InReplyTo,
Precedence,
ContentType,
ContentId,
ChatVersion,
ChatGroupId,
ChatGroupName,
ChatGroupNameChanged,
ChatVerified,
ChatGroupAvatar,
ChatUserAvatar,
ChatVoiceMessage,
ChatGroupMemberRemoved,
ChatGroupMemberAdded,
ChatContent,
ChatDuration,
ChatDispositionNotificationTo,
ChatWebrtcRoom,
Autocrypt,
AutocryptSetupMessage,
SecureJoin,
SecureJoinGroup,
SecureJoinFingerprint,
SecureJoinInvitenumber,
SecureJoinAuth,
Sender,
EphemeralTimer,
Received,
AuthenticationResults,
}
Variants§
MessageId
Subject
Date
From_
To
Cc
Carbon copy.
Disposition
OriginalMessageId
Used in the “Body Part Header” of MDNs as of RFC 8098. Indicates the Message-ID of the message for which the MDN is being issued.
AdditionalMessageIds
Delta Chat extension for message IDs in combined MDNs
XMicrosoftOriginalMessageId
Outlook-SMTP-server replace the Message-ID:
-header
and write the original ID to X-Microsoft-Original-Message-ID
.
To sort things correctly and to not show outgoing messages twice,
we need to check that header as well.
XMozillaDraftInfo
Thunderbird header used to store Draft information.
Thunderbird 78.11.0 does not set \Draft flag on messages saved as “Template”, but sets this header, so it can be used to ignore such messages.
ListId
Mailing list ID defined in RFC 2919.
ListPost
ListHelp
List-Help header defined in RFC 2369.
References
InReplyTo
In-Reply-To header containing Message-ID of the parent message.
Precedence
Used to detect mailing lists if contains “list” value as described in RFC 3834
ContentType
ContentId
ChatVersion
ChatGroupId
ChatGroupName
ChatGroupNameChanged
ChatVerified
ChatGroupAvatar
ChatUserAvatar
ChatVoiceMessage
ChatGroupMemberRemoved
ChatGroupMemberAdded
ChatContent
ChatDuration
Duration of the attached media file.
ChatDispositionNotificationTo
ChatWebrtcRoom
Autocrypt
Autocrypt header.
AutocryptSetupMessage
SecureJoin
SecureJoinGroup
Deprecated header containing Group-ID in vg-request-with-auth
message.
It is not used by Alice as Alice knows the group corresponding to the AUTH token. Bob still sends it for backwards compatibility.
SecureJoinFingerprint
SecureJoinInvitenumber
SecureJoinAuth
Sender
EphemeralTimer
Ephemeral message timer.
Received
AuthenticationResults
A header that includes the results of the DKIM, SPF and DMARC checks. See https://datatracker.ietf.org/doc/html/rfc8601
Implementations§
Trait Implementations§
source§impl PartialEq for HeaderDef
impl PartialEq for HeaderDef
impl Eq for HeaderDef
impl StructuralPartialEq for HeaderDef
Auto Trait Implementations§
impl RefUnwindSafe for HeaderDef
impl Send for HeaderDef
impl Sync for HeaderDef
impl Unpin for HeaderDef
impl UnwindSafe for HeaderDef
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.