Struct htwdresden::Grade [] [src]

pub struct Grade {
    pub exam_nr: String,
    pub status: String,
    pub ects_credits: String,
    pub exam_txt: String,
    pub semester: String,
    pub try_count: String,
    pub exam_date: String,
    pub grade: String,
    pub publish_date: String,
    pub exam_form: String,
    pub comment: String,
    pub ects_grade: String,
}

A grade, hopefully a good one.

Fields

Methods

impl Grade
[src]

Returns a list of grades for a given login and course.

Arguments

  • login - Login
  • course - Course

Example

use htwdresden::{Login, Course, Grade};

let login = Login::new("s#####", "password");
if let Ok(courses) = Course::get(&login) {
    let grades = Grade::get(&login, &courses[0]);
}

Trait Implementations

impl Debug for Grade
[src]

Formats the value using the given formatter.