Fetches the calendar home set
This commit is contained in:
parent
3f7de0e802
commit
de3c9cd7c5
7 changed files with 1159 additions and 13 deletions
|
@ -6,11 +6,12 @@ pub type TaskId = Uuid;
|
|||
pub struct Task {
|
||||
id: TaskId,
|
||||
name: String,
|
||||
completed: bool,
|
||||
}
|
||||
|
||||
impl Task {
|
||||
pub fn id(&self) -> Uuid { self.id }
|
||||
pub fn name(&self) -> String { self.name }
|
||||
pub fn name(&self) -> &str { &self.name }
|
||||
pub fn completed(&self) -> bool { self.completed }
|
||||
|
||||
pub fn set_completed(&mut self) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue