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 {
    /// component containing the template
    #[serde(rename = "component")]
    pub r#component: Option<String>,
    /// name of the template
    #[serde(rename = "template")]
    pub r#template: Option<String>,
}