#[non_exhaustive]pub struct IntRange {
pub min: i64,
pub max: i64,
/* private fields */
}Expand description
The number range for number parameters.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.min: i64Required. The minimum permitted value for the numeric parameter (inclusive).
max: i64Required. The maximum permitted value for the numeric parameter (inclusive).
Implementations§
Trait Implementations§
impl StructuralPartialEq for IntRange
Auto Trait Implementations§
impl Freeze for IntRange
impl RefUnwindSafe for IntRange
impl Send for IntRange
impl Sync for IntRange
impl Unpin for IntRange
impl UnwindSafe for IntRange
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