Struct htwdresden::SemesterPlan
[−]
[src]
pub struct SemesterPlan { pub year: Year, pub semester_type: String, pub period: Period, pub holidays: Vec<Holiday>, pub lecture_period: Period, pub exam_period: Period, pub reregistration_period: Period, }
Fields
year: Year
semester_type: String
period: Period
holidays: Vec<Holiday>
lecture_period: Period
exam_period: Period
reregistration_period: Period
Methods
impl SemesterPlan
[src]
fn get() -> Result<Vec<SemesterPlan>, Error>
Returns all currently available SemesterPlan
s.
Example
use htwdresden::SemesterPlan; fn main() { let semesters = SemesterPlan::get(); }