moodle_api 0.1.0

Moodle Webservice Client in Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use serde::{self, Deserialize, Serialize};

#[derive(Serialize, Deserialize, Debug)]
pub struct Params {
    /// course module id
    #[serde(rename = "id")]
    pub r#id: Option<i64>,
    /// section to return to
    #[serde(rename = "sectionreturn")]
    pub r#sectionreturn: Option<i64>,
}