lightbulb/services/ags/score

Types

Represents a score in the AGS (Assignment Grading Service).

pub type Score {
  Score(
    score_given: Float,
    score_maximum: Float,
    timestamp: String,
    user_id: String,
    comment: String,
    activity_progress: String,
    grading_progress: String,
  )
}

Constructors

  • Score(
      score_given: Float,
      score_maximum: Float,
      timestamp: String,
      user_id: String,
      comment: String,
      activity_progress: String,
      grading_progress: String,
    )

Values

pub fn to_json(score: Score) -> Json

Converts a Score to a JSON representation.

Search Document