pub struct DependentRequiredPair {
pub trigger: StrRef,
pub required: StrRef,
}Expand description
One decoded-name presence implication used by dependentRequired.
Fields§
§trigger: StrRefThe decoded property name whose presence activates the rule.
required: StrRefA decoded property name that must be present when the trigger is present.
Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for DependentRequiredPair
impl<'__de, __Context> BorrowDecode<'__de, __Context> for DependentRequiredPair
Source§fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Source§impl Clone for DependentRequiredPair
impl Clone for DependentRequiredPair
impl Copy for DependentRequiredPair
Source§impl Debug for DependentRequiredPair
impl Debug for DependentRequiredPair
Source§impl<__Context> Decode<__Context> for DependentRequiredPair
impl<__Context> Decode<__Context> for DependentRequiredPair
Source§impl Encode for DependentRequiredPair
impl Encode for DependentRequiredPair
impl Eq for DependentRequiredPair
Source§impl Hash for DependentRequiredPair
impl Hash for DependentRequiredPair
Source§impl Ord for DependentRequiredPair
impl Ord for DependentRequiredPair
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 DependentRequiredPair
impl PartialEq for DependentRequiredPair
Source§impl PartialOrd for DependentRequiredPair
impl PartialOrd for DependentRequiredPair
impl StructuralPartialEq for DependentRequiredPair
Auto Trait Implementations§
impl Freeze for DependentRequiredPair
impl RefUnwindSafe for DependentRequiredPair
impl Send for DependentRequiredPair
impl Sync for DependentRequiredPair
impl Unpin for DependentRequiredPair
impl UnsafeUnpin for DependentRequiredPair
impl UnwindSafe for DependentRequiredPair
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