#[non_exhaustive]pub enum CookieAcceptPolicy {
Always,
Never,
NoThirdParty,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for CookieAcceptPolicy
impl Clone for CookieAcceptPolicy
Source§fn clone(&self) -> CookieAcceptPolicy
fn clone(&self) -> CookieAcceptPolicy
Returns a copy 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 moreSource§impl Debug for CookieAcceptPolicy
impl Debug for CookieAcceptPolicy
Source§impl Display for CookieAcceptPolicy
impl Display for CookieAcceptPolicy
Source§impl<'a> FromValue<'a> for CookieAcceptPolicy
impl<'a> FromValue<'a> for CookieAcceptPolicy
Source§type Checker = GenericValueTypeChecker<CookieAcceptPolicy>
type Checker = GenericValueTypeChecker<CookieAcceptPolicy>
Value type checker.
Source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a
Value
. Read moreSource§impl Hash for CookieAcceptPolicy
impl Hash for CookieAcceptPolicy
Source§impl Ord for CookieAcceptPolicy
impl Ord for CookieAcceptPolicy
Source§fn cmp(&self, other: &CookieAcceptPolicy) -> Ordering
fn cmp(&self, other: &CookieAcceptPolicy) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CookieAcceptPolicy
impl PartialEq for CookieAcceptPolicy
Source§impl PartialOrd for CookieAcceptPolicy
impl PartialOrd for CookieAcceptPolicy
Source§impl StaticType for CookieAcceptPolicy
impl StaticType for CookieAcceptPolicy
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.Source§impl ToValue for CookieAcceptPolicy
impl ToValue for CookieAcceptPolicy
Source§impl ValueType for CookieAcceptPolicy
impl ValueType for CookieAcceptPolicy
Source§type Type = CookieAcceptPolicy
type Type = CookieAcceptPolicy
Type to get the
Type
from. Read moreimpl Copy for CookieAcceptPolicy
impl Eq for CookieAcceptPolicy
impl StructuralPartialEq for CookieAcceptPolicy
Auto Trait Implementations§
impl Freeze for CookieAcceptPolicy
impl RefUnwindSafe for CookieAcceptPolicy
impl Send for CookieAcceptPolicy
impl Sync for CookieAcceptPolicy
impl Unpin for CookieAcceptPolicy
impl UnwindSafe for CookieAcceptPolicy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ToSendValue for T
impl<T> ToSendValue for T
Source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.