pub struct CookieOptions {
pub domain: String,
pub path: String,
pub expires: u64,
pub http_only: bool,
pub max_age: u64,
pub secure: bool,
pub signed: bool,
pub same_site: SameSite,
}Fields§
§domain: String§path: String§expires: u64§http_only: bool§max_age: u64§secure: bool§signed: bool§same_site: SameSiteTrait Implementations§
Source§impl Default for CookieOptions
impl Default for CookieOptions
Source§fn default() -> CookieOptions
fn default() -> CookieOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CookieOptions
impl RefUnwindSafe for CookieOptions
impl Send for CookieOptions
impl Sync for CookieOptions
impl Unpin for CookieOptions
impl UnwindSafe for CookieOptions
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