pub struct CountRange {
pub min: Option<u32>,
pub max: Option<u32>,
}Expand description
数の範囲(両端を含む)。省いた側は制限しない。
Fields§
§min: Option<u32>§max: Option<u32>Trait Implementations§
Source§impl Clone for CountRange
impl Clone for CountRange
impl Copy for CountRange
Source§impl Debug for CountRange
impl Debug for CountRange
Source§impl Default for CountRange
impl Default for CountRange
Source§impl<'de> Deserialize<'de> for CountRange
impl<'de> Deserialize<'de> for CountRange
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CountRange
Source§impl PartialEq for CountRange
impl PartialEq for CountRange
Source§impl Serialize for CountRange
impl Serialize for CountRange
impl StructuralPartialEq for CountRange
Auto Trait Implementations§
impl Forget for CountRange
impl Freeze for CountRange
impl Move for CountRange
impl RefUnwindSafe for CountRange
impl Send for CountRange
impl Sync for CountRange
impl Unpin for CountRange
impl UnsafeUnpin for CountRange
impl UnwindSafe for CountRange
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