#[repr(i32)]pub enum MatchType {
Invalid = 0,
All = 1,
Any = 2,
NA = 3,
Empty = 4,
}
Expand description
Enumeration used by ObjectMatchRule
to specify how to interpret ObjectRef
objects.
Variants§
Invalid = 0
Invalidates match criterion.
All = 1
All of the criteria must be met.
Any = 2
Any of the criteria must criteria must be met.
NA = 3
None of the criteria must be met.
Empty = 4
Same as Self::All
if the criterion item is non-empty - All of the criteria must be met.
For empty criteria this rule requires the returned value to also have empty set.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MatchType
impl<'de> Deserialize<'de> for MatchType
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 Copy for MatchType
impl Eq for MatchType
impl StructuralPartialEq for MatchType
Auto Trait Implementations§
impl Freeze for MatchType
impl RefUnwindSafe for MatchType
impl Send for MatchType
impl Sync for MatchType
impl Unpin for MatchType
impl UnwindSafe for MatchType
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<'de, T> DynamicDeserialize<'de> for T
impl<'de, T> DynamicDeserialize<'de> for T
Source§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
Source§fn deserializer_for_signature<S>(
signature: S,
) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
fn deserializer_for_signature<S>( signature: S, ) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
Get a deserializer compatible with this signature.
Source§impl<T> DynamicType for T
impl<T> DynamicType for T
Source§fn dynamic_signature(&self) -> Signature<'_>
fn dynamic_signature(&self) -> Signature<'_>
Get the signature for the implementing type. Read more