pub struct LogEntry {
pub timestamp: String,
pub from_state: Option<String>,
pub to_state: Option<String>,
pub note: Option<String>,
pub raw: Option<String>,
}Expand description
One line of an issue’s :LOGBOOK: drawer.
Fields§
§timestamp: StringInactive org timestamp on the line, or empty for a raw CLOCK row.
from_state: Option<String>Previous TODO keyword on a state flip.
to_state: Option<String>New TODO keyword on a state flip.
note: Option<String>Folded note text, when the line is a note rather than a state flip.
raw: Option<String>Opaque logbook line (an org CLOCK: entry, say) preserved verbatim
across rewrites.
Implementations§
Trait Implementations§
impl Eq for LogEntry
impl StructuralPartialEq for LogEntry
Auto Trait Implementations§
impl Freeze for LogEntry
impl RefUnwindSafe for LogEntry
impl Send for LogEntry
impl Sync for LogEntry
impl Unpin for LogEntry
impl UnsafeUnpin for LogEntry
impl UnwindSafe for LogEntry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.