Struct actix_web::cookie::time::format_description::well_known::Rfc3339
source · [−]pub struct Rfc3339;
This is supported on crate feature
cookies
only.Expand description
The format described in RFC 3339.
Format example: 1985-04-12T23:20:50.52Z
assert_eq!(
OffsetDateTime::parse("1985-04-12T23:20:50.52Z", &Rfc3339)?,
datetime!(1985-04-12 23:20:50.52 +00:00)
);
assert_eq!(
datetime!(1985-04-12 23:20:50.52 +00:00).format(&Rfc3339)?,
"1985-04-12T23:20:50.52Z"
);
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Rfc3339
impl UnwindSafe for Rfc3339
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more