pub enum CookiePrefix {
None,
Secure,
Host,
}Expand description
Case-sensitive cookie name prefixes recognized by the parser.
Variants§
None
No recognized cookie prefix.
Secure
Cookie name starts with __Secure-.
Host
Cookie name starts with __Host-.
Trait Implementations§
Source§impl Clone for CookiePrefix
impl Clone for CookiePrefix
Source§fn clone(&self) -> CookiePrefix
fn clone(&self) -> CookiePrefix
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CookiePrefix
Source§impl Debug for CookiePrefix
impl Debug for CookiePrefix
impl Eq for CookiePrefix
Source§impl PartialEq for CookiePrefix
impl PartialEq for CookiePrefix
Source§fn eq(&self, other: &CookiePrefix) -> bool
fn eq(&self, other: &CookiePrefix) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CookiePrefix
Auto Trait Implementations§
impl Freeze for CookiePrefix
impl RefUnwindSafe for CookiePrefix
impl Send for CookiePrefix
impl Sync for CookiePrefix
impl Unpin for CookiePrefix
impl UnsafeUnpin for CookiePrefix
impl UnwindSafe for CookiePrefix
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