pub struct ClockSpan {
pub line: u32,
pub outline: Vec<String>,
pub day: i64,
pub minutes: u32,
}Expand description
Time clocked on one headline on one day (OA.14b).
The WIT clock-span, native side. Reported for every clocked headline a
producer saw — NOT only for the ones that became rows. A clock report totals
what you actually logged, and agenda rows are a filtered subset, so a
headline clocked yesterday with no TODO and no date must still count.
Fields§
§line: u320-based line of the HEADLINE the time was logged under.
outline: Vec<String>Outline path, outermost ancestor first, the headline itself last. Its length is the outline level.
A path rather than a name plus a level, because the report is a hierarchy whose totals roll up it: an ancestor that logged no time of its own emits no span, so the chain is the only way to name it.
day: i64Days since the Unix epoch the time is filed under.
minutes: u32Minutes clocked, already summed per (headline, day) by the producer.
Trait Implementations§
impl Eq for ClockSpan
impl StructuralPartialEq for ClockSpan
Auto Trait Implementations§
impl Freeze for ClockSpan
impl RefUnwindSafe for ClockSpan
impl Send for ClockSpan
impl Sync for ClockSpan
impl Unpin for ClockSpan
impl UnsafeUnpin for ClockSpan
impl UnwindSafe for ClockSpan
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.