pub struct ExportReport {
pub date: String,
pub start_time: String,
pub end_time: String,
pub total_hours: String,
pub productivity: f64,
pub intervals: Vec<ExportInterval>,
pub tasks: Vec<ExportTask>,
}Expand description
Serializable structure representing a daily work report for export.
This structure contains all the information needed to represent a complete daily work report in export formats. All fields use string representations for format compatibility and consistent presentation.
Fields§
§date: StringDate of the work report in YYYY-MM-DD format
start_time: StringWork start time in HH:MM format
end_time: StringWork end time in HH:MM format
total_hours: StringTotal working hours formatted as human-readable duration
productivity: f64Productivity percentage (0.0-100.0) with one decimal place
intervals: Vec<ExportInterval>List of work intervals with timing details
tasks: Vec<ExportTask>List of tasks associated with this date
Trait Implementations§
Source§impl Debug for ExportReport
impl Debug for ExportReport
Source§impl<'de> Deserialize<'de> for ExportReport
impl<'de> Deserialize<'de> for ExportReport
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 ExportReport
impl RefUnwindSafe for ExportReport
impl Send for ExportReport
impl Sync for ExportReport
impl Unpin for ExportReport
impl UnsafeUnpin for ExportReport
impl UnwindSafe for ExportReport
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