pub struct ChecklistItem {
pub uuid: ThingsId,
pub title: String,
pub task_uuid: ThingsId,
pub status: TaskStatus,
pub index: i32,
}Fields§
§uuid: ThingsId§title: String§task_uuid: ThingsId§status: TaskStatus§index: i32Implementations§
Source§impl ChecklistItem
impl ChecklistItem
pub fn is_incomplete(&self) -> bool
pub fn is_completed(&self) -> bool
pub fn is_canceled(&self) -> bool
Trait Implementations§
Source§impl Clone for ChecklistItem
impl Clone for ChecklistItem
Source§fn clone(&self) -> ChecklistItem
fn clone(&self) -> ChecklistItem
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChecklistItem
impl Debug for ChecklistItem
Source§impl PartialEq for ChecklistItem
impl PartialEq for ChecklistItem
impl StructuralPartialEq for ChecklistItem
Auto Trait Implementations§
impl Freeze for ChecklistItem
impl RefUnwindSafe for ChecklistItem
impl Send for ChecklistItem
impl Sync for ChecklistItem
impl Unpin for ChecklistItem
impl UnsafeUnpin for ChecklistItem
impl UnwindSafe for ChecklistItem
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