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
completed: bool
priority: Option<u8>
completed_at: Option<&'a [u8]>
created_at: Option<&'a [u8]>
description: &'a str
Methods
impl<'a> TodoItem<'a>
[src]
impl<'a> TodoItem<'a>
Trait Implementations
impl<'a> Debug for TodoItem<'a>
[src]
impl<'a> Debug for TodoItem<'a>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'a> PartialEq for TodoItem<'a>
[src]
impl<'a> PartialEq for TodoItem<'a>
fn eq(&self, other: &TodoItem<'a>) -> bool
[src]
fn eq(&self, other: &TodoItem<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &TodoItem<'a>) -> bool
[src]
fn ne(&self, other: &TodoItem<'a>) -> bool
This method tests for !=
.
impl<'a> PartialOrd for TodoItem<'a>
[src]
impl<'a> PartialOrd for TodoItem<'a>
fn partial_cmp(&self, other: &TodoItem<'a>) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &TodoItem<'a>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &TodoItem<'a>) -> bool
[src]
fn lt(&self, other: &TodoItem<'a>) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &TodoItem<'a>) -> bool
[src]
fn le(&self, other: &TodoItem<'a>) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &TodoItem<'a>) -> bool
[src]
fn gt(&self, other: &TodoItem<'a>) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &TodoItem<'a>) -> bool
[src]
fn ge(&self, other: &TodoItem<'a>) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more