Expand description

Functions and structs for interacting with the database.

Each submodule corresponds to a database table.

Re-exports

Modules

Enums

  • Many database tables are related to either a course or an exam
  • Helper struct to use with functions that insert data into the database.

Traits

  • A “trait alias” so this for<'a> … string doesn’t need to be repeated everywhere Arguments: Url: The URL that the request is sent to (the exercise service’s endpoint) &str: Exercise type/service slug Option<Value>: The Json for the request, for example the private spec in a public spec request