Struct txdo::TodoItem[][src]

pub struct TodoItem<'a> {
    pub completed: bool,
    pub priority: Option<u8>,
    pub completed_at: Option<&'a [u8]>,
    pub created_at: Option<&'a [u8]>,
    pub description: &'a str,
}

Fields

Methods

impl<'a> TodoItem<'a>
[src]

Trait Implementations

impl<'a> Debug for TodoItem<'a>
[src]

Formats the value using the given formatter. Read more

impl<'a> PartialEq for TodoItem<'a>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'a> PartialOrd for TodoItem<'a>
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

Auto Trait Implementations

impl<'a> Send for TodoItem<'a>

impl<'a> Sync for TodoItem<'a>