~baka/canvaslms

7ab757b9359360190dec83ebc908169108fd0cda — baka 3 months ago 1f2037c main
Switched remaining i64s to u64s
3 files changed, 5 insertions(+), 2 deletions(-)

M README.md
M src/models/assignment.rs
M src/models/user.rs
M README.md => README.md +3 -0
@@ 3,6 3,9 @@

An easy-to-use client for the Canvas LMS REST API written in Rust.

Licensed MIT.

## References

[Canvas LMS REST API Documentation](https://canvas.instructure.com/doc/api/)


M src/models/assignment.rs => src/models/assignment.rs +1 -1
@@ 2,7 2,7 @@ use super::*;

#[derive(Serialize, Deserialize, Clone)]
pub struct Assignment {
  pub id: i64,
  pub id: u64,
  pub name: String,
  pub description: Option<String>,
  pub due_at: Option<DateTime<Utc>>,

M src/models/user.rs => src/models/user.rs +1 -1
@@ 3,7 3,7 @@ use super::*;
#[derive(Serialize, Deserialize, Clone)]
/// A [User] is a real person (or test student)
pub struct User {
  pub id: i64,
  pub id: u64,
  pub name: String,
  pub short_name: String,
  pub avatar_url: String,