pub enum SourceRuleKind {
LengthRange,
NumericMinimum,
NumericRange,
}Expand description
SourceRuleKind
Closed durable-rule vocabulary translated into accepted constraints. This enum describes authoring metadata only; accepted schema owns runtime evaluation after fragment lowering.
Variants§
LengthRange
Inclusive character/octet/collection length range.
NumericMinimum
Inclusive numeric minimum.
NumericRange
Inclusive numeric range.
Trait Implementations§
Source§impl Clone for SourceRuleKind
impl Clone for SourceRuleKind
Source§fn clone(&self) -> SourceRuleKind
fn clone(&self) -> SourceRuleKind
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 moreimpl Copy for SourceRuleKind
Source§impl Debug for SourceRuleKind
impl Debug for SourceRuleKind
Auto Trait Implementations§
impl Freeze for SourceRuleKind
impl RefUnwindSafe for SourceRuleKind
impl Send for SourceRuleKind
impl Sync for SourceRuleKind
impl Unpin for SourceRuleKind
impl UnsafeUnpin for SourceRuleKind
impl UnwindSafe for SourceRuleKind
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