pub enum HeaderDef {
Show 47 variants
MessageId,
Subject,
Date,
From_,
To,
AutoSubmitted,
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,
IrohNodeAddr,
IrohGossipTopic,
}
Variants§
MessageId
Subject
Date
From_
To
AutoSubmitted
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
IrohNodeAddr
Node address from iroh where direct addresses have been removed.
IrohGossipTopic
Advertised gossip topic for one webxdc.
Implementations§
Trait Implementations§
impl Eq for HeaderDef
impl StructuralPartialEq for HeaderDef
Auto Trait Implementations§
impl Freeze for HeaderDef
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)§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.