pub struct Input {
pub utterance: String,
pub config: Option<Config>,
}Expand description
Input to the partial date extractor.
Fields§
§utterance: StringThe raw text from which a date should be extracted.
config: Option<Config>Per-call config override. Falls back to the library default when None.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Input
impl RefUnwindSafe for Input
impl Send for Input
impl Sync for Input
impl Unpin for Input
impl UnsafeUnpin for Input
impl UnwindSafe for Input
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