My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/apps/koffice/libko/src/proj.rs

15 lines
314 B

use chrono::NaiveDate;
use serde::{Deserialize, Serialize};
/// Represent a project that is being done
#[derive(Serialize, Deserialize)]
pub struct Project {
client: String,
date: NaiveDate,
}
impl Project {
pub fn new(client: String, date: NaiveDate) -> Self {
Self { client, date }
}
}