pub struct NumParserProps<T> {
pub min: Option<T>,
pub max: Option<T>,
}
Fields§
§min: Option<T>
§max: Option<T>
Trait Implementations§
Source§impl<T> Clone for NumParserProps<T>where
T: Clone,
impl<T> Clone for NumParserProps<T>where
T: Clone,
Source§impl<T> Debug for NumParserProps<T>where
T: Debug,
impl<T> Debug for NumParserProps<T>where
T: Debug,
Source§impl<T> Deserialize for NumParserProps<T>where
T: Deserialize,
impl<T> Deserialize for NumParserProps<T>where
T: Deserialize,
fn mc_deserialize(data: &[u8]) -> DeserializeResult<'_, Self>
Source§impl<T> PartialEq for NumParserProps<T>where
T: PartialEq,
impl<T> PartialEq for NumParserProps<T>where
T: PartialEq,
Source§impl<T> Serialize for NumParserProps<T>where
T: Serialize,
impl<T> Serialize for NumParserProps<T>where
T: Serialize,
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl<T> Copy for NumParserProps<T>where
T: Copy,
Auto Trait Implementations§
impl<T> Freeze for NumParserProps<T>where
T: Freeze,
impl<T> RefUnwindSafe for NumParserProps<T>where
T: RefUnwindSafe,
impl<T> Send for NumParserProps<T>where
T: Send,
impl<T> Sync for NumParserProps<T>where
T: Sync,
impl<T> Unpin for NumParserProps<T>where
T: Unpin,
impl<T> UnwindSafe for NumParserProps<T>where
T: UnwindSafe,
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