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: Option<SameSite>,
}Fields§
§domain: String§path: String§expires: u64§http_only: bool§max_age: u64§secure: bool§signed: bool§same_site: Option<SameSite>Implementations§
Source§impl CookieOptions
impl CookieOptions
pub fn default() -> CookieOptions
Trait Implementations§
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