pub struct CookieConfig {
pub max_age: Duration,
pub site: SameSite,
pub http_only: bool,
pub path: String,
}Fields§
§max_age: Duration§site: SameSite§http_only: bool§path: StringTrait Implementations§
Source§impl Debug for CookieConfig
impl Debug for CookieConfig
Auto Trait Implementations§
impl Freeze for CookieConfig
impl RefUnwindSafe for CookieConfig
impl Send for CookieConfig
impl Sync for CookieConfig
impl Unpin for CookieConfig
impl UnwindSafe for CookieConfig
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