pub struct CsrfDoubleSubmitCookie {
pub http_only: bool,
pub secure: bool,
pub same_site: SameSite,
}
Fields§
§http_only: bool
§secure: bool
§same_site: SameSite
Trait Implementations§
Source§impl Clone for CsrfDoubleSubmitCookie
impl Clone for CsrfDoubleSubmitCookie
Source§fn clone(&self) -> CsrfDoubleSubmitCookie
fn clone(&self) -> CsrfDoubleSubmitCookie
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for CsrfDoubleSubmitCookie
impl RefUnwindSafe for CsrfDoubleSubmitCookie
impl Send for CsrfDoubleSubmitCookie
impl Sync for CsrfDoubleSubmitCookie
impl Unpin for CsrfDoubleSubmitCookie
impl UnwindSafe for CsrfDoubleSubmitCookie
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