Enum mail_parser::HeaderName
source · Variants§
Implementations§
source§impl<'x> HeaderName<'x>
impl<'x> HeaderName<'x>
source§impl<'x> HeaderName<'x>
impl<'x> HeaderName<'x>
pub fn as_str(&self) -> &str
pub fn as_owned<'y>(&self) -> HeaderName<'y>
pub fn into_owned<'y>(self) -> HeaderName<'y>
pub fn unwrap(self) -> String
sourcepub fn is_mime_header(&self) -> bool
pub fn is_mime_header(&self) -> bool
Returns true if it is a MIME header.
pub fn is_empty(&self) -> bool
Trait Implementations§
source§impl<'x> Clone for HeaderName<'x>
impl<'x> Clone for HeaderName<'x>
source§fn clone(&self) -> HeaderName<'x>
fn clone(&self) -> HeaderName<'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