pub struct Item {
pub line: usize,
pub priority: Priority,
pub done: bool,
pub text: String,
pub tags: Vec<String>,
pub due: Option<String>,
pub gh: Option<u64>,
pub id: Option<String>,
pub group: Option<String>,
pub description: Vec<String>,
}Fields§
§line: usize1-based line number of the item line.
priority: Priority§done: bool§text: String§due: Option<String>YYYY-MM-DD, already validated.
gh: Option<u64>§id: Option<String>id:xxxxx, minted by pma; already validated.
group: Option<String>Text of the nearest ### heading above the item in its section.
description: Vec<String>Indented lines under the item, verbatim.
Implementations§
Source§impl Item
impl Item
Trait Implementations§
impl Eq for Item
impl StructuralPartialEq for Item
Auto Trait Implementations§
impl Freeze for Item
impl RefUnwindSafe for Item
impl Send for Item
impl Sync for Item
impl Unpin for Item
impl UnsafeUnpin for Item
impl UnwindSafe for Item
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.