diff --git a/src/lib.rs b/src/lib.rs index 1ede266..eb21077 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -871,6 +871,10 @@ pub enum DatabaseProperty { id: String, name: String, }, + Button { + id: String, + name: String, + }, Unsupported(Value), } @@ -898,6 +902,7 @@ impl DatabaseProperty { | Select { id, .. } | Status { id, .. } | Title { id, .. } + | Button { id, .. } | Url { id, .. } => Some(id.to_owned()), Unsupported(..) => None, @@ -925,6 +930,7 @@ impl DatabaseProperty { | Rollup { name, .. } | Select { name, .. } | Status { name, .. } + | Button { name, .. } | Title { name, .. } | Url { name, .. } => Some(name.to_owned()), @@ -1107,6 +1113,9 @@ pub enum Property { UniqueId { id: String, }, + Button { + id: String, + }, Unsupported(Value), } @@ -1137,6 +1146,7 @@ impl Property { | Url { id, .. } | Formula { id, .. } | Verification { id, .. } + | Button { id, .. } | UniqueId { id, .. } => Some(id.to_owned()), Unsupported(_) => None,