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