thot-local 0.10.0-intermediate

Local functionality for Thot data management and analysis software.
Documentation
use serde::{Deserialize, Serialize};
use std::cmp::PartialEq;
use std::path::PathBuf;
use thot_core::types::ResourceId;

#[derive(Serialize, Deserialize, Debug, PartialEq, Clone)]
pub struct Project {
    pub rid: ResourceId,
    pub path: PathBuf,
}

impl Project {
    pub fn new(rid: ResourceId, path: PathBuf) -> Project {
        Project { rid, path }
    }
}

#[cfg(test)]
#[path = "./project_test.rs"]
mod project_test;