pub struct AdjustedTimestamp {
pub original: String,
pub adjusted_utc: String,
pub adjusted_local: String,
pub adjustment_applied: String,
}Expand description
The result of adjusting a timestamp by a duration.
Fields§
§original: StringThe original datetime (echoed back).
adjusted_utc: StringThe adjusted datetime in UTC (RFC 3339).
adjusted_local: StringThe adjusted datetime in the source timezone (RFC 3339 with offset).
adjustment_applied: StringThe normalized adjustment applied (e.g., “+2h30m”).
Trait Implementations§
Source§impl Clone for AdjustedTimestamp
impl Clone for AdjustedTimestamp
Source§fn clone(&self) -> AdjustedTimestamp
fn clone(&self) -> AdjustedTimestamp
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 AdjustedTimestamp
impl Debug for AdjustedTimestamp
Auto Trait Implementations§
impl Freeze for AdjustedTimestamp
impl RefUnwindSafe for AdjustedTimestamp
impl Send for AdjustedTimestamp
impl Sync for AdjustedTimestamp
impl Unpin for AdjustedTimestamp
impl UnsafeUnpin for AdjustedTimestamp
impl UnwindSafe for AdjustedTimestamp
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