mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 03:36:06 +00:00
DESIGN doc, stub out /write endpoint
This commit is contained in:
parent
6ee9a48e20
commit
0f78eb933a
3 changed files with 36 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue