diff --git a/Cargo.toml b/Cargo.toml index 198e529..68b17ff 100755 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,3 +20,4 @@ regex = "1.7.1" serde = { version = "^1.0", features = ["derive"], default-features = false } serde_json = { version = "^1.0", features = ["raw_value"], default-features = false } surf = { version = "2.3.2", default-features = false } +uuid = "1.16.0" diff --git a/src/lib.rs b/src/lib.rs index a20b378..f39d13d 100755 --- a/src/lib.rs +++ b/src/lib.rs @@ -701,7 +701,7 @@ pub struct ChildDatabase { #[derive(Debug, Serialize, Deserialize, Clone, PartialEq)] pub struct User { - pub id: String, + pub id: uuid::Uuid, pub name: Option<String>, pub person: Option<Person>, pub avatar_url: Option<String>, @@ -1069,7 +1069,7 @@ pub enum RollupProperty { last_edited_time: DateValue, }, Select { - select: SelectOption, + select: Option<SelectOption>, }, MultiSelect { multi_select: Vec<SelectOption>,