pub struct Context {
pub reference_time: DateTime<Utc>,
pub locale: Locale,
pub timezone_offset_minutes: i32,
}Expand description
Context for resolving parsed tokens into structured values.
Fields§
§reference_time: DateTime<Utc>§locale: Locale§timezone_offset_minutes: i32Context timezone offset in minutes from UTC (e.g., -120 for UTC-2)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Context
impl RefUnwindSafe for Context
impl Send for Context
impl Sync for Context
impl Unpin for Context
impl UnwindSafe for Context
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