Line | Count | Source (jump to first uncovered line) |
1 | | //! Responses related to scenes. |
2 | | |
3 | | use serde::Deserialize; |
4 | | use time::Duration; |
5 | | |
6 | | /// Response value for [`crate::client::Scenes::list`]. |
7 | 133 | #[derive(Debug0 , D57 eserializ19 e)] Unexecuted instantiation: <obws::responses::scenes::Scenes as core::fmt::Debug>::fmt Unexecuted instantiation: <obws::responses::scenes::Scenes as core::fmt::Debug>::fmt <obws::responses::scenes::Scenes as serde::de::Deserialize>::deserialize::<serde_json::value::Value> Line | Count | Source | 7 | 19 | #[derive(Debug, Deserialize)] |
<<obws::responses::scenes::Scenes as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<&mut serde_json::value::de::MapDeserializer> Line | Count | Source | 7 | 76 | #[derive(Debug, Dese19 rializ19 e)] |
<<obws::responses::scenes::Scenes as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<serde_json::error::Error> Line | Count | Source | 7 | 57 | #[derive(Debug, Deserialize)] |
<<obws::responses::scenes::Scenes as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<serde_json::value::de::MapKeyDeserializer> Line | Count | Source | 7 | 57 | #[derive(Debug, Deserialize)] |
Unexecuted instantiation: <<obws::responses::scenes::Scenes as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<&mut serde_json::value::de::SeqDeserializer> Unexecuted instantiation: <<obws::responses::scenes::Scenes as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<_> Unexecuted instantiation: <<obws::responses::scenes::Scenes as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_> Unexecuted instantiation: <<obws::responses::scenes::Scenes as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_> Unexecuted instantiation: <<obws::responses::scenes::Scenes as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<_> Unexecuted instantiation: <<obws::responses::scenes::Scenes as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_> Unexecuted instantiation: <obws::responses::scenes::Scenes as serde::de::Deserialize>::deserialize::<_> Unexecuted instantiation: <<obws::responses::scenes::Scenes as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_> Unexecuted instantiation: <<obws::responses::scenes::Scenes as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting Unexecuted instantiation: <<obws::responses::scenes::Scenes as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::expecting Unexecuted instantiation: <<obws::responses::scenes::Scenes as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_> Unexecuted instantiation: <<obws::responses::scenes::Scenes as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_> Unexecuted instantiation: <<obws::responses::scenes::Scenes as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::expecting Unexecuted instantiation: <<obws::responses::scenes::Scenes as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting Unexecuted instantiation: <obws::responses::scenes::Scenes as serde::de::Deserialize>::deserialize::<_> Unexecuted instantiation: <<obws::responses::scenes::Scenes as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<_> Unexecuted instantiation: <<obws::responses::scenes::Scenes as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<_> Unexecuted instantiation: <<obws::responses::scenes::Scenes as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_> Unexecuted instantiation: <<obws::responses::scenes::Scenes as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_> |
8 | | pub struct Scenes { |
9 | | /// Current program scene. |
10 | | #[serde(rename = "currentProgramSceneName")] |
11 | | pub current_program_scene_name: Option<String>, |
12 | | /// Current preview scene. [`None`] if not in studio mode. |
13 | | #[serde(rename = "currentPreviewSceneName")] |
14 | | pub current_preview_scene_name: Option<String>, |
15 | | /// Array of scenes in OBS. |
16 | | #[serde(rename = "scenes")] |
17 | | pub scenes: Vec<Scene>, |
18 | | } |
19 | | |
20 | | /// Response value for [`crate::client::Scenes::list`] as part of [`Scenes`]. |
21 | 190 | #[derive(Debug0 , D76 eserializ0 e)] Unexecuted instantiation: <obws::responses::scenes::Scene as core::fmt::Debug>::fmt Unexecuted instantiation: <obws::responses::scenes::Scene as core::fmt::Debug>::fmt <<obws::responses::scenes::Scene as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<serde_json::value::de::MapKeyDeserializer> Line | Count | Source | 21 | 76 | #[derive(Debug, Deserialize)] |
Unexecuted instantiation: <<obws::responses::scenes::Scene as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<&mut serde_json::value::de::SeqDeserializer> <obws::responses::scenes::Scene as serde::de::Deserialize>::deserialize::<serde_json::value::Value> Line | Count | Source | 21 | 38 | #[derive(Debug, Deserialize)] |
<<obws::responses::scenes::Scene as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<serde_json::error::Error> Line | Count | Source | 21 | 76 | #[derive(Debug, Deserialize)] |
Unexecuted instantiation: <<obws::responses::scenes::Scene as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<&mut serde_json::value::de::MapDeserializer> Unexecuted instantiation: <<obws::responses::scenes::Scene as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_> Unexecuted instantiation: <<obws::responses::scenes::Scene as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<_> Unexecuted instantiation: <<obws::responses::scenes::Scene as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<_> Unexecuted instantiation: <<obws::responses::scenes::Scene as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_> Unexecuted instantiation: <obws::responses::scenes::Scene as serde::de::Deserialize>::deserialize::<_> Unexecuted instantiation: <<obws::responses::scenes::Scene as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_> Unexecuted instantiation: <<obws::responses::scenes::Scene as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_> Unexecuted instantiation: <<obws::responses::scenes::Scene as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::expecting Unexecuted instantiation: <<obws::responses::scenes::Scene as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting Unexecuted instantiation: <<obws::responses::scenes::Scene as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<_> Unexecuted instantiation: <<obws::responses::scenes::Scene as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_> Unexecuted instantiation: <obws::responses::scenes::Scene as serde::de::Deserialize>::deserialize::<_> Unexecuted instantiation: <<obws::responses::scenes::Scene as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::expecting Unexecuted instantiation: <<obws::responses::scenes::Scene as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting Unexecuted instantiation: <<obws::responses::scenes::Scene as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_> Unexecuted instantiation: <<obws::responses::scenes::Scene as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_> Unexecuted instantiation: <<obws::responses::scenes::Scene as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<_> Unexecuted instantiation: <<obws::responses::scenes::Scene as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_> |
22 | | pub struct Scene { |
23 | | /// Name of the scene. |
24 | | #[serde(rename = "sceneName")] |
25 | | pub name: String, |
26 | | /// Positional index in the list of scenes. |
27 | | #[serde(rename = "sceneIndex")] |
28 | | pub index: usize, |
29 | | } |
30 | | |
31 | | /// Response value for [`crate::client::Scenes::get_group_list`]. |
32 | 57 | #[derive(Debug0 , D38 eserialize)] Unexecuted instantiation: <obws::responses::scenes::Groups as core::fmt::Debug>::fmt Unexecuted instantiation: <obws::responses::scenes::Groups as core::fmt::Debug>::fmt <obws::responses::scenes::Groups as serde::de::Deserialize>::deserialize::<serde_json::value::Value> Line | Count | Source | 32 | 19 | #[derive(Debug, Deserialize)] |
Unexecuted instantiation: <<obws::responses::scenes::Groups as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<&mut serde_json::value::de::SeqDeserializer> <<obws::responses::scenes::Groups as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<serde_json::error::Error> Line | Count | Source | 32 | 19 | #[derive(Debug, Deserialize)] |
<<obws::responses::scenes::Groups as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<&mut serde_json::value::de::MapDeserializer> Line | Count | Source | 32 | 38 | #[derive(Debug, D19 eserialize)] |
<<obws::responses::scenes::Groups as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<serde_json::value::de::MapKeyDeserializer> Line | Count | Source | 32 | 19 | #[derive(Debug, Deserialize)] |
Unexecuted instantiation: <<obws::responses::scenes::Groups as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<_> Unexecuted instantiation: <obws::responses::scenes::Groups as serde::de::Deserialize>::deserialize::<_> Unexecuted instantiation: <<obws::responses::scenes::Groups as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_> Unexecuted instantiation: <<obws::responses::scenes::Groups as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_> Unexecuted instantiation: <<obws::responses::scenes::Groups as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_> Unexecuted instantiation: <<obws::responses::scenes::Groups as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<_> Unexecuted instantiation: <<obws::responses::scenes::Groups as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_> Unexecuted instantiation: <<obws::responses::scenes::Groups as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::expecting Unexecuted instantiation: <<obws::responses::scenes::Groups as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting Unexecuted instantiation: <<obws::responses::scenes::Groups as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting Unexecuted instantiation: <<obws::responses::scenes::Groups as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<_> Unexecuted instantiation: <obws::responses::scenes::Groups as serde::de::Deserialize>::deserialize::<_> Unexecuted instantiation: <<obws::responses::scenes::Groups as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<_> Unexecuted instantiation: <<obws::responses::scenes::Groups as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::expecting Unexecuted instantiation: <<obws::responses::scenes::Groups as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_> Unexecuted instantiation: <<obws::responses::scenes::Groups as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_> Unexecuted instantiation: <<obws::responses::scenes::Groups as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_> Unexecuted instantiation: <<obws::responses::scenes::Groups as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_> |
33 | | pub(crate) struct Groups { |
34 | | /// Array of group names. |
35 | | #[serde(rename = "groups")] |
36 | | pub groups: Vec<String>, |
37 | | } |
38 | | |
39 | | /// Response value for |
40 | | /// [`crate::client::Scenes::get_current_program_scene`]. |
41 | 3 | #[derive(Debug0 , D2 eserialize)] Unexecuted instantiation: <obws::responses::scenes::CurrentProgramScene as core::fmt::Debug>::fmt Unexecuted instantiation: <obws::responses::scenes::CurrentProgramScene as core::fmt::Debug>::fmt <<obws::responses::scenes::CurrentProgramScene as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<&mut serde_json::value::de::MapDeserializer> Line | Count | Source | 41 | 2 | #[derive(Debug, D1 eserialize)] |
<<obws::responses::scenes::CurrentProgramScene as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<serde_json::error::Error> Line | Count | Source | 41 | 1 | #[derive(Debug, Deserialize)] |
Unexecuted instantiation: <<obws::responses::scenes::CurrentProgramScene as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<&mut serde_json::value::de::SeqDeserializer> <<obws::responses::scenes::CurrentProgramScene as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<serde_json::value::de::MapKeyDeserializer> Line | Count | Source | 41 | 1 | #[derive(Debug, Deserialize)] |
<obws::responses::scenes::CurrentProgramScene as serde::de::Deserialize>::deserialize::<serde_json::value::Value> Line | Count | Source | 41 | 1 | #[derive(Debug, Deserialize)] |
Unexecuted instantiation: <<obws::responses::scenes::CurrentProgramScene as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_> Unexecuted instantiation: <<obws::responses::scenes::CurrentProgramScene as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<_> Unexecuted instantiation: <obws::responses::scenes::CurrentProgramScene as serde::de::Deserialize>::deserialize::<_> Unexecuted instantiation: <<obws::responses::scenes::CurrentProgramScene as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_> Unexecuted instantiation: <<obws::responses::scenes::CurrentProgramScene as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_> Unexecuted instantiation: <<obws::responses::scenes::CurrentProgramScene as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_> Unexecuted instantiation: <<obws::responses::scenes::CurrentProgramScene as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<_> Unexecuted instantiation: <<obws::responses::scenes::CurrentProgramScene as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting Unexecuted instantiation: <<obws::responses::scenes::CurrentProgramScene as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::expecting Unexecuted instantiation: <<obws::responses::scenes::CurrentProgramScene as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<_> Unexecuted instantiation: <<obws::responses::scenes::CurrentProgramScene as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_> Unexecuted instantiation: <<obws::responses::scenes::CurrentProgramScene as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting Unexecuted instantiation: <<obws::responses::scenes::CurrentProgramScene as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_> Unexecuted instantiation: <<obws::responses::scenes::CurrentProgramScene as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_> Unexecuted instantiation: <<obws::responses::scenes::CurrentProgramScene as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<_> Unexecuted instantiation: <<obws::responses::scenes::CurrentProgramScene as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_> Unexecuted instantiation: <obws::responses::scenes::CurrentProgramScene as serde::de::Deserialize>::deserialize::<_> Unexecuted instantiation: <<obws::responses::scenes::CurrentProgramScene as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::expecting |
42 | | pub(crate) struct CurrentProgramScene { |
43 | | /// Current program scene. |
44 | | #[serde(rename = "currentProgramSceneName")] |
45 | | pub current_program_scene_name: String, |
46 | | } |
47 | | |
48 | | /// Response value for |
49 | | /// [`crate::client::Scenes::get_current_preview_scene`]. |
50 | 3 | #[derive(Debug0 , D2 eserialize)] Unexecuted instantiation: <obws::responses::scenes::CurrentPreviewScene as core::fmt::Debug>::fmt Unexecuted instantiation: <obws::responses::scenes::CurrentPreviewScene as core::fmt::Debug>::fmt <<obws::responses::scenes::CurrentPreviewScene as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<serde_json::error::Error> Line | Count | Source | 50 | 1 | #[derive(Debug, Deserialize)] |
<obws::responses::scenes::CurrentPreviewScene as serde::de::Deserialize>::deserialize::<serde_json::value::Value> Line | Count | Source | 50 | 1 | #[derive(Debug, Deserialize)] |
<<obws::responses::scenes::CurrentPreviewScene as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<&mut serde_json::value::de::MapDeserializer> Line | Count | Source | 50 | 2 | #[derive(Debug, D1 eserialize)] |
Unexecuted instantiation: <<obws::responses::scenes::CurrentPreviewScene as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<&mut serde_json::value::de::SeqDeserializer> <<obws::responses::scenes::CurrentPreviewScene as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<serde_json::value::de::MapKeyDeserializer> Line | Count | Source | 50 | 1 | #[derive(Debug, Deserialize)] |
Unexecuted instantiation: <<obws::responses::scenes::CurrentPreviewScene as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<_> Unexecuted instantiation: <<obws::responses::scenes::CurrentPreviewScene as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<_> Unexecuted instantiation: <obws::responses::scenes::CurrentPreviewScene as serde::de::Deserialize>::deserialize::<_> Unexecuted instantiation: <<obws::responses::scenes::CurrentPreviewScene as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_> Unexecuted instantiation: <<obws::responses::scenes::CurrentPreviewScene as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_> Unexecuted instantiation: <<obws::responses::scenes::CurrentPreviewScene as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_> Unexecuted instantiation: <<obws::responses::scenes::CurrentPreviewScene as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_> Unexecuted instantiation: <<obws::responses::scenes::CurrentPreviewScene as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::expecting Unexecuted instantiation: <<obws::responses::scenes::CurrentPreviewScene as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting Unexecuted instantiation: <<obws::responses::scenes::CurrentPreviewScene as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting Unexecuted instantiation: <<obws::responses::scenes::CurrentPreviewScene as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_> Unexecuted instantiation: <<obws::responses::scenes::CurrentPreviewScene as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_> Unexecuted instantiation: <<obws::responses::scenes::CurrentPreviewScene as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_> Unexecuted instantiation: <<obws::responses::scenes::CurrentPreviewScene as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_> Unexecuted instantiation: <<obws::responses::scenes::CurrentPreviewScene as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<_> Unexecuted instantiation: <<obws::responses::scenes::CurrentPreviewScene as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::expecting Unexecuted instantiation: <<obws::responses::scenes::CurrentPreviewScene as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<_> Unexecuted instantiation: <obws::responses::scenes::CurrentPreviewScene as serde::de::Deserialize>::deserialize::<_> |
51 | | pub(crate) struct CurrentPreviewScene { |
52 | | /// Current preview scene. |
53 | | #[serde(rename = "currentPreviewSceneName")] |
54 | | pub current_preview_scene_name: String, |
55 | | } |
56 | | |
57 | | /// Response value for [`crate::client::Scenes::transition_override`]. |
58 | 6 | #[derive(Debug0 , D4 eserialize)] Unexecuted instantiation: <obws::responses::scenes::SceneTransitionOverride as core::fmt::Debug>::fmt Unexecuted instantiation: <obws::responses::scenes::SceneTransitionOverride as core::fmt::Debug>::fmt Unexecuted instantiation: <<<obws::responses::scenes::SceneTransitionOverride as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::__DeserializeWith as serde::de::Deserialize>::deserialize::<serde_json::value::Value> <<<obws::responses::scenes::SceneTransitionOverride as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::__DeserializeWith as serde::de::Deserialize>::deserialize::<serde_json::value::Value> Line | Count | Source | 58 | 1 | #[derive(Debug, Deserialize)] |
<<obws::responses::scenes::SceneTransitionOverride as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<serde_json::value::de::MapKeyDeserializer> Line | Count | Source | 58 | 2 | #[derive(Debug, Deserialize)] |
Unexecuted instantiation: <<obws::responses::scenes::SceneTransitionOverride as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<&mut serde_json::value::de::SeqDeserializer> <<obws::responses::scenes::SceneTransitionOverride as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<serde_json::error::Error> Line | Count | Source | 58 | 2 | #[derive(Debug, Deserialize)] |
Unexecuted instantiation: <<obws::responses::scenes::SceneTransitionOverride as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<&mut serde_json::value::de::SeqDeserializer>::{closure#0} <obws::responses::scenes::SceneTransitionOverride as serde::de::Deserialize>::deserialize::<serde_json::value::Value> Line | Count | Source | 58 | 1 | #[derive(Debug, Deserialize)] |
<<obws::responses::scenes::SceneTransitionOverride as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<&mut serde_json::value::de::MapDeserializer> Line | Count | Source | 58 | 3 | #[derive(Debug, D1 eserialize)] |
Unexecuted instantiation: <<<obws::responses::scenes::SceneTransitionOverride as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::__DeserializeWith as serde::de::Deserialize>::deserialize::<_> Unexecuted instantiation: <obws::responses::scenes::SceneTransitionOverride as serde::de::Deserialize>::deserialize::<_> Unexecuted instantiation: <<obws::responses::scenes::SceneTransitionOverride as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_> Unexecuted instantiation: <<obws::responses::scenes::SceneTransitionOverride as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_> Unexecuted instantiation: <<obws::responses::scenes::SceneTransitionOverride as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<_> Unexecuted instantiation: <<<obws::responses::scenes::SceneTransitionOverride as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::__DeserializeWith as serde::de::Deserialize>::deserialize::<_> Unexecuted instantiation: <<obws::responses::scenes::SceneTransitionOverride as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_> Unexecuted instantiation: <<obws::responses::scenes::SceneTransitionOverride as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_> Unexecuted instantiation: <<obws::responses::scenes::SceneTransitionOverride as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_>::{closure#0} Unexecuted instantiation: <<obws::responses::scenes::SceneTransitionOverride as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<_> Unexecuted instantiation: <<obws::responses::scenes::SceneTransitionOverride as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting Unexecuted instantiation: <<obws::responses::scenes::SceneTransitionOverride as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::expecting Unexecuted instantiation: <<<obws::responses::scenes::SceneTransitionOverride as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::__DeserializeWith as serde::de::Deserialize>::deserialize::<_> Unexecuted instantiation: <<obws::responses::scenes::SceneTransitionOverride as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<_> Unexecuted instantiation: <obws::responses::scenes::SceneTransitionOverride as serde::de::Deserialize>::deserialize::<_> Unexecuted instantiation: <<obws::responses::scenes::SceneTransitionOverride as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting Unexecuted instantiation: <<obws::responses::scenes::SceneTransitionOverride as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_> Unexecuted instantiation: <<obws::responses::scenes::SceneTransitionOverride as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_> Unexecuted instantiation: <<obws::responses::scenes::SceneTransitionOverride as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_> Unexecuted instantiation: <<obws::responses::scenes::SceneTransitionOverride as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_> Unexecuted instantiation: <<obws::responses::scenes::SceneTransitionOverride as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_>::{closure#0} Unexecuted instantiation: <<<obws::responses::scenes::SceneTransitionOverride as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::__DeserializeWith as serde::de::Deserialize>::deserialize::<_> Unexecuted instantiation: <<obws::responses::scenes::SceneTransitionOverride as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::expecting Unexecuted instantiation: <<obws::responses::scenes::SceneTransitionOverride as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<_> |
59 | | pub struct SceneTransitionOverride { |
60 | | /// Name of the overridden scene transition. |
61 | | #[serde(rename = "transitionName")] |
62 | | pub name: Option<String>, |
63 | | /// Duration of the overridden scene transition. |
64 | | #[serde( |
65 | | rename = "transitionDuration", |
66 | | with = "crate::serde::duration_millis::option" |
67 | | )] |
68 | | pub duration: Option<Duration>, |
69 | | } |