Skip to content

Commit

Permalink
Update config.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
Kemppis3 authored Jul 8, 2024
1 parent 1fb0f72 commit eee654a
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ use std::error::Error;
use uuid::Uuid;

#[derive(Deserialize)]
pub struct CourseConfiguration {
pub course_identifier: CourseIdentifier,
pub weeks: Vec<Weeks>,
pub tasks: Vec<WeeksTasks>,
pub taskbuild: Vec<WeeksTasksBuild>,
pub taskoutput: Vec<WeeksTasksOutput>,
struct CourseConfiguration {
course_identifier: CourseIdentifier,
weeks: Vec<Weeks>,
tasks: Vec<WeeksTasks>,
taskbuild: Vec<WeeksTasksBuild>,
taskoutput: Vec<WeeksTasksOutput>,
}

impl CourseConfiguration {
Expand All @@ -25,12 +25,12 @@ impl CourseConfiguration {
}

#[derive(Deserialize)]
pub struct CourseIdentifier {
struct CourseIdentifier {
//TODO:Change to UUID
pub identifier: String,
pub name: String,
pub description: String,
pub version: String,
identifier: String,
name: String,
description: String,
version: String,
}

impl CourseIdentifier {
Expand Down

0 comments on commit eee654a

Please sign in to comment.