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 {
    /// Id of the field to move
    #[serde(rename = "id")]
    pub r#id: Option<i64>,
    /// New parent category id
    #[serde(rename = "categoryid")]
    pub r#categoryid: Option<i64>,
    /// Id of the field before which it needs to be moved
    #[serde(rename = "beforeid")]
    pub r#beforeid: Option<i64>,
}