Struct mail_auth::AuthenticatedMessage
source · pub struct AuthenticatedMessage<'x> { /* private fields */ }Implementations§
source§impl<'x> AuthenticatedMessage<'x>
impl<'x> AuthenticatedMessage<'x>
pub fn parse(raw_message: &'x [u8]) -> Option<Self>
pub fn received_headers_count(&self) -> usize
pub fn has_message_id_header(&self) -> bool
pub fn has_date_header(&self) -> bool
pub fn raw_headers(&self) -> &[u8] ⓘ
pub fn body_offset(&self) -> usize
pub fn froms(&self) -> &[String]
pub fn from(&self) -> &str
Trait Implementations§
source§impl<'x> Clone for AuthenticatedMessage<'x>
impl<'x> Clone for AuthenticatedMessage<'x>
source§fn clone(&self) -> AuthenticatedMessage<'x>
fn clone(&self) -> AuthenticatedMessage<'x>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more