pub struct ResolvedDatetime {
pub resolved_utc: String,
pub resolved_local: String,
pub timezone: String,
pub interpretation: String,
}Expand description
The result of resolving a relative time expression.
Fields§
§resolved_utc: StringThe resolved datetime in UTC (RFC 3339).
resolved_local: StringThe resolved datetime in the given timezone (RFC 3339 with offset).
timezone: StringThe IANA timezone used for resolution.
interpretation: StringHuman-readable interpretation (e.g., “Tuesday, February 24, 2026 at 2:00 PM EST”).
Trait Implementations§
Source§impl Clone for ResolvedDatetime
impl Clone for ResolvedDatetime
Source§fn clone(&self) -> ResolvedDatetime
fn clone(&self) -> ResolvedDatetime
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResolvedDatetime
impl Debug for ResolvedDatetime
Auto Trait Implementations§
impl Freeze for ResolvedDatetime
impl RefUnwindSafe for ResolvedDatetime
impl Send for ResolvedDatetime
impl Sync for ResolvedDatetime
impl Unpin for ResolvedDatetime
impl UnsafeUnpin for ResolvedDatetime
impl UnwindSafe for ResolvedDatetime
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