pub struct Rfc2822;
Available on crate features
formatting
or parsing
only.Expand description
Trait Implementations§
Source§impl Sealed for Rfc2822
Available on crate feature formatting
only.
impl Sealed for Rfc2822
Available on crate feature
formatting
only.Source§impl Sealed for Rfc2822
Available on crate feature parsing
only.
impl Sealed for Rfc2822
Available on crate feature
parsing
only.Source§fn parse_offset_date_time(&self, input: &[u8]) -> Result<OffsetDateTime, Parse>
fn parse_offset_date_time(&self, input: &[u8]) -> Result<OffsetDateTime, Parse>
Parse a
OffsetDateTime
from the format description.Source§fn parse_date(&self, input: &[u8]) -> Result<Date, Parse>
fn parse_date(&self, input: &[u8]) -> Result<Date, Parse>
Parse a
Date
from the format description.Source§fn parse_time(&self, input: &[u8]) -> Result<Time, Parse>
fn parse_time(&self, input: &[u8]) -> Result<Time, Parse>
Parse a
Time
from the format description.Source§fn parse_offset(&self, input: &[u8]) -> Result<UtcOffset, Parse>
fn parse_offset(&self, input: &[u8]) -> Result<UtcOffset, Parse>
Parse a
UtcOffset
from the format description.Source§fn parse_primitive_date_time(
&self,
input: &[u8],
) -> Result<PrimitiveDateTime, Parse>
fn parse_primitive_date_time( &self, input: &[u8], ) -> Result<PrimitiveDateTime, Parse>
Parse a
PrimitiveDateTime
from the format description.Source§fn parse_utc_date_time(&self, input: &[u8]) -> Result<UtcDateTime, Parse>
fn parse_utc_date_time(&self, input: &[u8]) -> Result<UtcDateTime, Parse>
Parse a
UtcDateTime
from the format description.impl Copy for Rfc2822
impl Formattable for Rfc2822
Available on crate feature
formatting
only.impl Parsable for Rfc2822
Available on crate feature
parsing
only.impl StructuralPartialEq for Rfc2822
Auto Trait Implementations§
impl Freeze for Rfc2822
impl RefUnwindSafe for Rfc2822
impl Send for Rfc2822
impl Sync for Rfc2822
impl Unpin for Rfc2822
impl UnwindSafe for Rfc2822
Blanket Implementations§
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
Mutably borrows from an owned value. Read more