pub struct ExportInterval {
pub index: usize,
pub start: String,
pub end: String,
pub duration: String,
}Expand description
Serializable structure representing a work interval within a daily report.
Work intervals represent continuous periods of activity without breaks. They are calculated by analyzing work start/end times and pause periods.
Fields§
§index: usizeSequential index of the interval (1-based)
start: StringInterval start time in HH:MM format
end: StringInterval end time in HH:MM format
duration: StringInterval duration formatted as human-readable duration
Trait Implementations§
Source§impl Debug for ExportInterval
impl Debug for ExportInterval
Source§impl<'de> Deserialize<'de> for ExportInterval
impl<'de> Deserialize<'de> for ExportInterval
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ExportInterval
impl RefUnwindSafe for ExportInterval
impl Send for ExportInterval
impl Sync for ExportInterval
impl Unpin for ExportInterval
impl UnsafeUnpin for ExportInterval
impl UnwindSafe for ExportInterval
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