Fetches the calendar home set

This commit is contained in:
daladim 2021-02-20 00:10:05 +01:00
parent 3f7de0e802
commit de3c9cd7c5
7 changed files with 1159 additions and 13 deletions

View file

@ -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) {