#[non_exhaustive]pub enum PolicyDecisionType {
NavigationAction,
NewWindowAction,
Response,
}
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 PolicyDecisionType
impl Clone for PolicyDecisionType
Source§fn clone(&self) -> PolicyDecisionType
fn clone(&self) -> PolicyDecisionType
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 PolicyDecisionType
impl Debug for PolicyDecisionType
Source§impl Display for PolicyDecisionType
impl Display for PolicyDecisionType
Source§impl<'a> FromValue<'a> for PolicyDecisionType
impl<'a> FromValue<'a> for PolicyDecisionType
Source§type Checker = GenericValueTypeChecker<PolicyDecisionType>
type Checker = GenericValueTypeChecker<PolicyDecisionType>
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 PolicyDecisionType
impl Hash for PolicyDecisionType
Source§impl Ord for PolicyDecisionType
impl Ord for PolicyDecisionType
Source§fn cmp(&self, other: &PolicyDecisionType) -> Ordering
fn cmp(&self, other: &PolicyDecisionType) -> 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 PolicyDecisionType
impl PartialEq for PolicyDecisionType
Source§impl PartialOrd for PolicyDecisionType
impl PartialOrd for PolicyDecisionType
Source§impl StaticType for PolicyDecisionType
impl StaticType for PolicyDecisionType
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.Source§impl ToValue for PolicyDecisionType
impl ToValue for PolicyDecisionType
Source§impl ValueType for PolicyDecisionType
impl ValueType for PolicyDecisionType
Source§type Type = PolicyDecisionType
type Type = PolicyDecisionType
Type to get the
Type
from. Read moreimpl Copy for PolicyDecisionType
impl Eq for PolicyDecisionType
impl StructuralPartialEq for PolicyDecisionType
Auto Trait Implementations§
impl Freeze for PolicyDecisionType
impl RefUnwindSafe for PolicyDecisionType
impl Send for PolicyDecisionType
impl Sync for PolicyDecisionType
impl Unpin for PolicyDecisionType
impl UnwindSafe for PolicyDecisionType
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
.