pub struct AllowedRange {
pub min: i64,
pub max: i64,
}
Fields§
§min: i64
§max: i64
Implementations§
Trait Implementations§
Source§impl Clone for AllowedRange
impl Clone for AllowedRange
Source§fn clone(&self) -> AllowedRange
fn clone(&self) -> AllowedRange
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 AllowedRange
impl Debug for AllowedRange
impl Copy for AllowedRange
Auto Trait Implementations§
impl Freeze for AllowedRange
impl RefUnwindSafe for AllowedRange
impl Send for AllowedRange
impl Sync for AllowedRange
impl Unpin for AllowedRange
impl UnwindSafe for AllowedRange
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