pub struct Summary<'a> {
pub id: u32,
pub kind: &'static str,
pub title: &'a str,
pub status: Option<&'static str>,
pub decision: Option<&'static str>,
pub asked: Option<&'static str>,
pub tags: &'a [String],
}Expand description
A short form for lists and search results: no description or comments.
Fields§
§id: u32The id to pass to other commands.
kind: &'static strtask, note or decision.
title: &'a strOne-line title.
status: Option<&'static str>Tasks only.
decision: Option<&'static str>Decisions only.
asked: Option<&'static str>A parked task’s question, as in Entry.
Lowercase, without #.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Summary<'a>
impl<'a> RefUnwindSafe for Summary<'a>
impl<'a> Send for Summary<'a>
impl<'a> Sync for Summary<'a>
impl<'a> Unpin for Summary<'a>
impl<'a> UnsafeUnpin for Summary<'a>
impl<'a> UnwindSafe for Summary<'a>
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