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
15
16
17
use serde::{self, Deserialize, Serialize};

#[derive(Serialize, Deserialize, Debug)]
pub struct Params {
    /// component containing the template
    #[serde(rename = "component")]
    pub r#component: Option<String>,
    /// name of the template
    #[serde(rename = "template")]
    pub r#template: Option<String>,
    /// The current theme.
    #[serde(rename = "themename")]
    pub r#themename: Option<String>,
    /// Include comments or not
    #[serde(rename = "includecomments")]
    pub r#includecomments: Option<bool>,
}