DESIGN doc, stub out /write endpoint

This commit is contained in:
Lucien Greathouse
2017-12-20 22:00:01 -08:00
parent 6ee9a48e20
commit 0f78eb933a
3 changed files with 36 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
use std::collections::HashMap;
#[derive(Debug, Serialize)]
#[derive(Debug, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct RbxItem {
pub name: String,
@@ -9,7 +9,7 @@ pub struct RbxItem {
pub properties: HashMap<String, RbxValue>,
}
#[derive(Debug, Serialize)]
#[derive(Debug, Serialize, Deserialize)]
#[serde(rename_all = "camelCase", tag = "type")]
pub enum RbxValue {
String {