Complete backtracking, restriction violations, split model.rs into multiple files
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// here lies the logic for the export of the final schedule into docx/pdf formats
|
||||
|
||||
use crate::model::{MonthlySchedule, WeeklySchedule};
|
||||
use crate::schedule::MonthlySchedule;
|
||||
|
||||
#[derive(Debug)]
|
||||
pub enum FileType {
|
||||
@@ -54,12 +54,6 @@ impl MonthlySchedule {
|
||||
}
|
||||
}
|
||||
|
||||
impl Export for WeeklySchedule {
|
||||
fn export(&self, file_type: FileType) {
|
||||
todo!()
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use rstest::rstest;
|
||||
|
||||
Reference in New Issue
Block a user