pub enum SegmentKind {
Show 19 variants
Verbatim,
Unresolved,
Cardinal,
Ordinal,
Decimal,
Digits,
Percent,
Money,
Unit,
Date,
Time,
Abbreviation,
Range,
Telephone,
Iban,
Roman,
Electronic,
Symbol,
Fallback,
}Expand description
Semantic kind of a result segment.
Variants§
Verbatim
Unchanged ordinary words, whitespace, or punctuation.
Unresolved
Preserved unresolved linguistic work.
Cardinal
Exact integer.
Ordinal
Integer ordinal.
Decimal
Exact comma decimal.
Digits
Individual digits.
Percent
Prefix percentage.
Money
Exact approved currency major/minor amount (TRY/USD/EUR/GBP).
Unit
Approved unit quantity or bounded rate.
Date
Gregorian date.
Time
24-hour digital clock.
Abbreviation
Approved abbreviation.
Range
Contextual or explicitly hinted numerical range.
Telephone
Grouped Turkish telephone expression.
Iban
Full checksum-valid Turkish IBAN.
Roman
Canonical uppercase Roman numeral with explicit/contextual intent.
Electronic
Supported email or web address.
Symbol
Approved prose hashtag or ampersand.
Fallback
Source-faithful fallback, not certification of the source value.
Trait Implementations§
Source§impl Clone for SegmentKind
impl Clone for SegmentKind
impl Copy for SegmentKind
Source§impl Debug for SegmentKind
impl Debug for SegmentKind
impl Eq for SegmentKind
Source§impl PartialEq for SegmentKind
impl PartialEq for SegmentKind
Source§impl Serialize for SegmentKind
impl Serialize for SegmentKind
impl StructuralPartialEq for SegmentKind
Auto Trait Implementations§
impl Freeze for SegmentKind
impl RefUnwindSafe for SegmentKind
impl Send for SegmentKind
impl Sync for SegmentKind
impl Unpin for SegmentKind
impl UnsafeUnpin for SegmentKind
impl UnwindSafe for SegmentKind
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