pub struct ParityRule {
pub selector: ObservationSelector,
pub comparison: ParityComparison,
}Expand description
One selector-specific comparison rule.
Fields§
§selector: ObservationSelectorObservation paths covered by the rule.
comparison: ParityComparisonComparison applied to every selected path.
Trait Implementations§
Source§impl Clone for ParityRule
impl Clone for ParityRule
Source§fn clone(&self) -> ParityRule
fn clone(&self) -> ParityRule
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 ParityRule
impl Debug for ParityRule
Source§impl<'de> Deserialize<'de> for ParityRule
impl<'de> Deserialize<'de> for ParityRule
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
Source§impl PartialEq for ParityRule
impl PartialEq for ParityRule
Source§impl Serialize for ParityRule
impl Serialize for ParityRule
impl StructuralPartialEq for ParityRule
Auto Trait Implementations§
impl Freeze for ParityRule
impl RefUnwindSafe for ParityRule
impl Send for ParityRule
impl Sync for ParityRule
impl Unpin for ParityRule
impl UnsafeUnpin for ParityRule
impl UnwindSafe for ParityRule
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