pub enum HintKind {
Cardinal,
Digits,
Date,
Time,
Ordinal,
Roman,
Range,
Telephone,
Electronic,
}Expand description
Explicit interpretation of a whole original-source span.
Variants§
Cardinal
An exact integer, including valid grouping and explicit zero-padding intent.
Digits
ASCII digits, optional initial plus, and space/dot/slash/hyphen/parentheses.
Date
A valid numeric Gregorian date.
Time
A valid 24-hour clock.
Ordinal
Explicit ordinal intent on a numeric period or ordinal suffix expression.
Roman
Canonical uppercase Roman numeral; period establishes ordinal intent.
Range
Exact bounded numeric endpoints with optional quantity context.
Telephone
Turkish national or +90 telephone reading.
Electronic
Supported whole ASCII address or cued/hinted bare domain.
Trait Implementations§
impl Copy for HintKind
Source§impl<'de> Deserialize<'de> for HintKind
impl<'de> Deserialize<'de> for HintKind
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 HintKind
impl StructuralPartialEq for HintKind
Auto Trait Implementations§
impl Freeze for HintKind
impl RefUnwindSafe for HintKind
impl Send for HintKind
impl Sync for HintKind
impl Unpin for HintKind
impl UnsafeUnpin for HintKind
impl UnwindSafe for HintKind
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