We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 429fe00 commit 5fb2356Copy full SHA for 5fb2356
1 file changed
src/users/filters.rs
@@ -41,6 +41,9 @@ pub struct Filter {
41
pub filter_id: Option<String>,
42
pub query: FilterQuery,
43
pub time_filter: Option<TimeFilter>,
44
+ /// all other fields are variable and can be added as needed
45
+ #[serde(flatten)]
46
+ pub other_fields: Option<serde_json::Map<String, Value>>,
47
}
48
49
#[derive(Debug, Serialize, Deserialize, Clone, PartialEq, Eq)]
0 commit comments