pub struct LogEntry {
pub timestamp: DateTime<FixedOffset>,
pub kind: LogKind,
pub object: Option<String>,
pub note: String,
}Expand description
One parsed log.md entry: a header
(## [YYYY-MM-DD HH:MM] <kind> | <object>) plus its body.
Fields§
§timestamp: DateTime<FixedOffset>The entry timestamp from the header.
kind: LogKindThe entry kind.
object: Option<String>The object slot — a store-relative path/wiki-link target, or None for
store-wide actions like validate.
note: StringThe free-form body (one or more lines) explaining what happened.
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.