rustenium_bidi_definitions/input/
results.rs1use serde::{Deserialize, Serialize};
2#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
3pub struct PerformActionsResult {
4 #[serde(flatten)]
5 #[serde(default)]
6 pub extensible: std::collections::HashMap<String, serde_json::Value>,
7}
8impl TryFrom<serde_json::Value> for PerformActionsResult {
9 type Error = serde_json::Error;
10 fn try_from(value: serde_json::Value) -> Result<Self, Self::Error> {
11 serde_json::from_value(value)
12 }
13}
14#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
15pub struct ReleaseActionsResult {
16 #[serde(flatten)]
17 #[serde(default)]
18 pub extensible: std::collections::HashMap<String, serde_json::Value>,
19}
20impl TryFrom<serde_json::Value> for ReleaseActionsResult {
21 type Error = serde_json::Error;
22 fn try_from(value: serde_json::Value) -> Result<Self, Self::Error> {
23 serde_json::from_value(value)
24 }
25}
26#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
27pub struct SetFilesResult {
28 #[serde(flatten)]
29 #[serde(default)]
30 pub extensible: std::collections::HashMap<String, serde_json::Value>,
31}
32impl TryFrom<serde_json::Value> for SetFilesResult {
33 type Error = serde_json::Error;
34 fn try_from(value: serde_json::Value) -> Result<Self, Self::Error> {
35 serde_json::from_value(value)
36 }
37}