moodle_api 0.1.0

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

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