pub enum ValueConstraint {
Single(i64),
Range(Option<i64>, Option<i64>),
}Expand description
Value constraint for INTEGER types (DEPRECATED - use Constraint)
Variants§
Trait Implementations§
Source§impl Clone for ValueConstraint
impl Clone for ValueConstraint
Source§fn clone(&self) -> ValueConstraint
fn clone(&self) -> ValueConstraint
Returns a duplicate of the value. Read more
1.0.0 · 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 ValueConstraint
impl Debug for ValueConstraint
Source§impl PartialEq for ValueConstraint
impl PartialEq for ValueConstraint
impl StructuralPartialEq for ValueConstraint
Auto Trait Implementations§
impl Freeze for ValueConstraint
impl RefUnwindSafe for ValueConstraint
impl Send for ValueConstraint
impl Sync for ValueConstraint
impl Unpin for ValueConstraint
impl UnsafeUnpin for ValueConstraint
impl UnwindSafe for ValueConstraint
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