pub enum SourceRuleOperation {
LengthRangeInclusive {
min: u64,
max: u64,
},
MultipleOf {
divisor: ScalarLiteral,
},
NumericMaximumInclusive {
value: ScalarLiteral,
},
NumericMinimumInclusive {
value: ScalarLiteral,
},
NumericRangeInclusive {
min: ScalarLiteral,
max: ScalarLiteral,
},
}Expand description
One closed durable operation applied to every selected nominal value.
Variants§
LengthRangeInclusive
Inclusive Unicode-scalar, octet, or collection-cardinality range.
MultipleOf
Exact nonzero integer or fixed-scale decimal divisor.
Fields
§
divisor: ScalarLiteralExact divisor admitted against the target kind.
NumericMaximumInclusive
Inclusive upper bound for one exact numeric kind.
Fields
§
value: ScalarLiteralExact upper-bound literal.
NumericMinimumInclusive
Inclusive lower bound for one exact numeric kind.
Fields
§
value: ScalarLiteralExact lower-bound literal.
NumericRangeInclusive
Inclusive lower and upper bounds for one exact numeric kind.
Trait Implementations§
Source§impl Clone for SourceRuleOperation
impl Clone for SourceRuleOperation
Source§fn clone(&self) -> SourceRuleOperation
fn clone(&self) -> SourceRuleOperation
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 SourceRuleOperation
impl Debug for SourceRuleOperation
impl Eq for SourceRuleOperation
Source§impl PartialEq for SourceRuleOperation
impl PartialEq for SourceRuleOperation
impl StructuralPartialEq for SourceRuleOperation
Auto Trait Implementations§
impl Freeze for SourceRuleOperation
impl RefUnwindSafe for SourceRuleOperation
impl Send for SourceRuleOperation
impl Sync for SourceRuleOperation
impl Unpin for SourceRuleOperation
impl UnsafeUnpin for SourceRuleOperation
impl UnwindSafe for SourceRuleOperation
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.