pub enum QueryPolicyMode {
Warn,
Enforce,
}Variants§
Trait Implementations§
Source§impl Arbitrary for QueryPolicyMode
impl Arbitrary for QueryPolicyMode
Source§type Parameters = ()
type Parameters = ()
The type of parameters that
arbitrary_with accepts for configuration
of the generated Strategy. Parameters must implement Default.Source§type Strategy = Union<BoxedStrategy<QueryPolicyMode>>
type Strategy = Union<BoxedStrategy<QueryPolicyMode>>
The type of
Strategy used to generate values of type Self.Source§fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
Source§impl Clone for QueryPolicyMode
impl Clone for QueryPolicyMode
Source§fn clone(&self) -> QueryPolicyMode
fn clone(&self) -> QueryPolicyMode
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 moreSource§impl Debug for QueryPolicyMode
impl Debug for QueryPolicyMode
Source§impl<'de> Deserialize<'de> for QueryPolicyMode
impl<'de> Deserialize<'de> for QueryPolicyMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for QueryPolicyMode
Source§impl Ord for QueryPolicyMode
impl Ord for QueryPolicyMode
Source§fn cmp(&self, other: &QueryPolicyMode) -> Ordering
fn cmp(&self, other: &QueryPolicyMode) -> Ordering
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for QueryPolicyMode
impl PartialEq for QueryPolicyMode
Source§impl PartialOrd for QueryPolicyMode
impl PartialOrd for QueryPolicyMode
Source§impl Serialize for QueryPolicyMode
impl Serialize for QueryPolicyMode
impl StructuralPartialEq for QueryPolicyMode
Auto Trait Implementations§
impl Freeze for QueryPolicyMode
impl RefUnwindSafe for QueryPolicyMode
impl Send for QueryPolicyMode
impl Sync for QueryPolicyMode
impl Unpin for QueryPolicyMode
impl UnsafeUnpin for QueryPolicyMode
impl UnwindSafe for QueryPolicyMode
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