taskboard_core_lib/lib.rs
1use serde::{Deserialize, Serialize};
2
3mod project;
4pub use crate::project::*;
5pub use uuid;
6
7mod task;
8pub use crate::task::*;
9
10/// Commands to serialize and sent to back-end
11pub mod commands;
12
13#[derive(Clone, Debug, Serialize, Deserialize)]
14/// Errors from our back-end API should be in this format
15pub struct ErrorMessage {
16 pub message: String,
17 pub status_code: u16,
18}