pub enum Expires {
Remove,
Session,
Exp(ExpVal),
}Expand description
The Expires attribute.
Variants§
Implementations§
Trait Implementations§
Source§impl From<OffsetDateTime> for Expires
impl From<OffsetDateTime> for Expires
Source§fn from(value: OffsetDateTime) -> Self
fn from(value: OffsetDateTime) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Expires
impl RefUnwindSafe for Expires
impl Send for Expires
impl Sync for Expires
impl Unpin for Expires
impl UnwindSafe for Expires
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