pub struct ExportSummary {
pub month: String,
pub days: Vec<ExportDaySum>,
pub total_hours: String,
pub average_hours: String,
pub total_days: usize,
}Expand description
Serializable structure representing a monthly summary for export.
This structure aggregates work data for an entire month, providing overview statistics and daily breakdowns for analysis purposes.
Fields§
§month: StringMonth and year in “Month YYYY” format (e.g., “January 2025”)
days: Vec<ExportDaySum>List of daily work hour summaries
total_hours: StringTotal working hours for the month formatted as duration
average_hours: StringAverage daily working hours formatted as duration
total_days: usizeTotal number of working days in the month
Trait Implementations§
Source§impl Debug for ExportSummary
impl Debug for ExportSummary
Source§impl<'de> Deserialize<'de> for ExportSummary
impl<'de> Deserialize<'de> for ExportSummary
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 ExportSummary
impl RefUnwindSafe for ExportSummary
impl Send for ExportSummary
impl Sync for ExportSummary
impl Unpin for ExportSummary
impl UnsafeUnpin for ExportSummary
impl UnwindSafe for ExportSummary
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