Enum actix_web::cookie::time::format_description::modifier::WeekdayRepr
source · [−]#[non_exhaustive]
pub enum WeekdayRepr {
Short,
Long,
Sunday,
Monday,
}
cookies
only.Expand description
The representation used for the day of the week.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Short
The short form of the weekday (e.g. “Mon”).
Long
The long form of the weekday (e.g. “Monday”).
Sunday
A numerical representation using Sunday as the first day of the week.
Sunday is either 0 or 1, depending on the other modifier’s value.
Monday
A numerical representation using Monday as the first day of the week.
Monday is either 0 or 1, depending on the other modifier’s value.
Trait Implementations
Creates a modifier that indicates the value uses the Long
representation.
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for WeekdayRepr
impl Send for WeekdayRepr
impl Sync for WeekdayRepr
impl Unpin for WeekdayRepr
impl UnwindSafe for WeekdayRepr
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