pub struct SubjectiveTimeReport {
pub period_start: DateTime<Utc>,
pub period_end: DateTime<Utc>,
pub clock_hours: f64,
pub perceived_productive_hours: f64,
pub perceived_wasted_hours: f64,
pub total_perceived_hours: f64,
pub recommendations: Vec<String>,
}Expand description
A report on subjective time for a period.
Fields§
§period_start: DateTime<Utc>Start of the period.
period_end: DateTime<Utc>End of the period.
clock_hours: f64Actual wall-clock hours.
perceived_productive_hours: f64Perceived productive hours.
perceived_wasted_hours: f64Perceived wasted hours.
total_perceived_hours: f64Total perceived hours (productive + wasted, may differ from clock).
recommendations: Vec<String>Recommendations for improving time perception.
Trait Implementations§
Source§impl Clone for SubjectiveTimeReport
impl Clone for SubjectiveTimeReport
Source§fn clone(&self) -> SubjectiveTimeReport
fn clone(&self) -> SubjectiveTimeReport
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 SubjectiveTimeReport
impl Debug for SubjectiveTimeReport
Source§impl<'de> Deserialize<'de> for SubjectiveTimeReport
impl<'de> Deserialize<'de> for SubjectiveTimeReport
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 SubjectiveTimeReport
impl RefUnwindSafe for SubjectiveTimeReport
impl Send for SubjectiveTimeReport
impl Sync for SubjectiveTimeReport
impl Unpin for SubjectiveTimeReport
impl UnsafeUnpin for SubjectiveTimeReport
impl UnwindSafe for SubjectiveTimeReport
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