Coverage Report

Created: 2022-07-04 16:17

src/responses/ui.rs
Line
Count
Source (jump to first uncovered line)
1
//! Responses related to the user interface.
2
3
use serde::Deserialize;
4
5
/// Response value for [`crate::client::Ui::get_studio_mode_enabled`].
6
57
#[derive(
Debug0
,
D38
eserialize)]
Unexecuted instantiation: <obws::responses::ui::StudioModeEnabled as core::fmt::Debug>::fmt
Unexecuted instantiation: <obws::responses::ui::StudioModeEnabled as core::fmt::Debug>::fmt
Unexecuted instantiation: <<obws::responses::ui::StudioModeEnabled as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<&mut serde_json::value::de::SeqDeserializer>
<<obws::responses::ui::StudioModeEnabled as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<serde_json::value::de::MapKeyDeserializer>
Line
Count
Source
6
19
#[derive(Debug, Deserialize)]
<obws::responses::ui::StudioModeEnabled as serde::de::Deserialize>::deserialize::<serde_json::value::Value>
Line
Count
Source
6
19
#[derive(Debug, Deserialize)]
<<obws::responses::ui::StudioModeEnabled as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<serde_json::error::Error>
Line
Count
Source
6
19
#[derive(Debug, Deserialize)]
<<obws::responses::ui::StudioModeEnabled as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<&mut serde_json::value::de::MapDeserializer>
Line
Count
Source
6
38
#[derive(Debug, 
D19
eserialize)]
Unexecuted instantiation: <obws::responses::ui::StudioModeEnabled as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<obws::responses::ui::StudioModeEnabled as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_>
Unexecuted instantiation: <<obws::responses::ui::StudioModeEnabled as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_>
Unexecuted instantiation: <<obws::responses::ui::StudioModeEnabled as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_>
Unexecuted instantiation: <<obws::responses::ui::StudioModeEnabled as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<_>
Unexecuted instantiation: <<obws::responses::ui::StudioModeEnabled as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_>
Unexecuted instantiation: <<obws::responses::ui::StudioModeEnabled as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<obws::responses::ui::StudioModeEnabled as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::expecting
Unexecuted instantiation: <<obws::responses::ui::StudioModeEnabled as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting
Unexecuted instantiation: <<obws::responses::ui::StudioModeEnabled as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<_>
Unexecuted instantiation: <<obws::responses::ui::StudioModeEnabled as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_>
Unexecuted instantiation: <<obws::responses::ui::StudioModeEnabled as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::expecting
Unexecuted instantiation: <<obws::responses::ui::StudioModeEnabled as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_>
Unexecuted instantiation: <<obws::responses::ui::StudioModeEnabled as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<obws::responses::ui::StudioModeEnabled as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_>
Unexecuted instantiation: <obws::responses::ui::StudioModeEnabled as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<obws::responses::ui::StudioModeEnabled as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_>
Unexecuted instantiation: <<obws::responses::ui::StudioModeEnabled as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting
7
pub(crate) struct StudioModeEnabled {
8
    /// Whether studio mode is enabled.
9
    #[serde(rename = "studioModeEnabled")]
10
    pub enabled: bool,
11
}
12
13
/// Response value for [`crate::client::Ui::get_monitor_list`].
14
3
#[derive(
Debug0
,
D2
eserialize)]
Unexecuted instantiation: <obws::responses::ui::MonitorList as core::fmt::Debug>::fmt
Unexecuted instantiation: <obws::responses::ui::MonitorList as core::fmt::Debug>::fmt
<<obws::responses::ui::MonitorList as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<serde_json::error::Error>
Line
Count
Source
14
1
#[derive(Debug, Deserialize)]
<<obws::responses::ui::MonitorList as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<serde_json::value::de::MapKeyDeserializer>
Line
Count
Source
14
1
#[derive(Debug, Deserialize)]
Unexecuted instantiation: <<obws::responses::ui::MonitorList as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<&mut serde_json::value::de::SeqDeserializer>
<obws::responses::ui::MonitorList as serde::de::Deserialize>::deserialize::<serde_json::value::Value>
Line
Count
Source
14
1
#[derive(Debug, Deserialize)]
<<obws::responses::ui::MonitorList as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<&mut serde_json::value::de::MapDeserializer>
Line
Count
Source
14
2
#[derive(Debug, 
D1
eserialize)]
Unexecuted instantiation: <obws::responses::ui::MonitorList as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<obws::responses::ui::MonitorList as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_>
Unexecuted instantiation: <<obws::responses::ui::MonitorList as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_>
Unexecuted instantiation: <<obws::responses::ui::MonitorList as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_>
Unexecuted instantiation: <<obws::responses::ui::MonitorList as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_>
Unexecuted instantiation: <<obws::responses::ui::MonitorList as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<obws::responses::ui::MonitorList as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<_>
Unexecuted instantiation: <<obws::responses::ui::MonitorList as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting
Unexecuted instantiation: <<obws::responses::ui::MonitorList as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::expecting
Unexecuted instantiation: <<obws::responses::ui::MonitorList as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting
Unexecuted instantiation: <<obws::responses::ui::MonitorList as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_>
Unexecuted instantiation: <obws::responses::ui::MonitorList as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<obws::responses::ui::MonitorList as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_>
Unexecuted instantiation: <<obws::responses::ui::MonitorList as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_>
Unexecuted instantiation: <<obws::responses::ui::MonitorList as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<obws::responses::ui::MonitorList as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::expecting
Unexecuted instantiation: <<obws::responses::ui::MonitorList as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<_>
Unexecuted instantiation: <<obws::responses::ui::MonitorList as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_>
15
pub(crate) struct MonitorList {
16
    #[serde(rename = "monitors")]
17
    pub monitors: Vec<Monitor>,
18
}
19
20
/// Response value for [`crate::client::Ui::list_monitors`].
21
9
#[derive(
Debug0
,
D6
ese
rializ7
e)]
Unexecuted instantiation: <obws::responses::ui::Monitor as core::fmt::Debug>::fmt
Unexecuted instantiation: <obws::responses::ui::Monitor as core::fmt::Debug>::fmt
<<obws::responses::ui::Monitor as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<serde_json::error::Error>
Line
Count
Source
21
6
#[derive(Debug, Deserialize)]
<<obws::responses::ui::Monitor as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<&mut serde_json::value::de::MapDeserializer>
Line
Count
Source
21
7
#[derive(Debug, Deserializ
e3
)]
<obws::responses::ui::Monitor as serde::de::Deserialize>::deserialize::<serde_json::value::Value>
Line
Count
Source
21
1
#[derive(Debug, Deserialize)]
Unexecuted instantiation: <<obws::responses::ui::Monitor as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_borrowed_str::<serde_json::error::Error>
<<obws::responses::ui::Monitor as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<serde_json::value::de::MapKeyDeserializer>
Line
Count
Source
21
6
#[derive(Debug, Deserialize)]
Unexecuted instantiation: <<obws::responses::ui::Monitor as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_>
Unexecuted instantiation: <<obws::responses::ui::Monitor as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_i16::<_>
Unexecuted instantiation: <<obws::responses::ui::Monitor as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<_>
Unexecuted instantiation: <obws::responses::ui::Monitor as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<obws::responses::ui::Monitor as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<obws::responses::ui::Monitor as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_f32::<_>
Unexecuted instantiation: <<obws::responses::ui::Monitor as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_i64::<_>
Unexecuted instantiation: <<obws::responses::ui::Monitor as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_f64::<_>
Unexecuted instantiation: <<obws::responses::ui::Monitor as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bool::<_>
Unexecuted instantiation: <<obws::responses::ui::Monitor as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u32::<_>
Unexecuted instantiation: <<obws::responses::ui::Monitor as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_i8::<_>
Unexecuted instantiation: <<obws::responses::ui::Monitor as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_i32::<_>
Unexecuted instantiation: <<obws::responses::ui::Monitor as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_char::<_>
Unexecuted instantiation: <<obws::responses::ui::Monitor as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u8::<_>
Unexecuted instantiation: <<obws::responses::ui::Monitor as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u16::<_>
Unexecuted instantiation: <<obws::responses::ui::Monitor as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_unit::<_>
Unexecuted instantiation: <<obws::responses::ui::Monitor as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_>
Unexecuted instantiation: <<obws::responses::ui::Monitor as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_borrowed_bytes::<_>
Unexecuted instantiation: <<obws::responses::ui::Monitor as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_>
Unexecuted instantiation: <<obws::responses::ui::Monitor as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_borrowed_str::<_>
Unexecuted instantiation: <<obws::responses::ui::Monitor as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting
Unexecuted instantiation: <<obws::responses::ui::Monitor as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::expecting
Unexecuted instantiation: <<obws::responses::ui::Monitor as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_f64::<_>
Unexecuted instantiation: <<obws::responses::ui::Monitor as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_i32::<_>
Unexecuted instantiation: <<obws::responses::ui::Monitor as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::expecting
Unexecuted instantiation: <<obws::responses::ui::Monitor as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_i8::<_>
Unexecuted instantiation: <obws::responses::ui::Monitor as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<obws::responses::ui::Monitor as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_f32::<_>
Unexecuted instantiation: <<obws::responses::ui::Monitor as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_borrowed_str::<_>
Unexecuted instantiation: <<obws::responses::ui::Monitor as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bool::<_>
Unexecuted instantiation: <<obws::responses::ui::Monitor as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_i64::<_>
Unexecuted instantiation: <<obws::responses::ui::Monitor as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_unit::<_>
Unexecuted instantiation: <<obws::responses::ui::Monitor as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<obws::responses::ui::Monitor as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting
Unexecuted instantiation: <<obws::responses::ui::Monitor as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u16::<_>
Unexecuted instantiation: <<obws::responses::ui::Monitor as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_char::<_>
Unexecuted instantiation: <<obws::responses::ui::Monitor as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_>
Unexecuted instantiation: <<obws::responses::ui::Monitor as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<_>
Unexecuted instantiation: <<obws::responses::ui::Monitor as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_i16::<_>
Unexecuted instantiation: <<obws::responses::ui::Monitor as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u32::<_>
Unexecuted instantiation: <<obws::responses::ui::Monitor as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_>
Unexecuted instantiation: <<obws::responses::ui::Monitor as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_borrowed_bytes::<_>
Unexecuted instantiation: <<obws::responses::ui::Monitor as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u8::<_>
Unexecuted instantiation: <<obws::responses::ui::Monitor as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_>
22
pub struct Monitor {
23
    /// Name of this monitor.
24
    #[serde(rename = "monitorName")]
25
    pub name: String,
26
    /// Positional index in the list of monitors.
27
    #[serde(rename = "monitorIndex")]
28
    pub index: u32,
29
    /// Pixel size.
30
    #[serde(flatten)]
31
    pub size: MonitorSize,
32
    /// Position on the screen.
33
    #[serde(flatten)]
34
    pub position: MonitorPosition,
35
}
36
37
/// Response value for [`crate::client::Ui::list_monitors`] as part of [`Monitor`].
38
5
#[derive(
Debug0
,
D3
eserialize)]
Unexecuted instantiation: <obws::responses::ui::MonitorSize as core::fmt::Debug>::fmt
Unexecuted instantiation: <obws::responses::ui::MonitorSize as core::fmt::Debug>::fmt
<obws::responses::ui::MonitorSize as serde::de::Deserialize>::deserialize::<serde::__private::de::FlatMapDeserializer<serde_json::error::Error>>
Line
Count
Source
38
1
#[derive(Debug, Deserialize)]
Unexecuted instantiation: <<obws::responses::ui::MonitorSize as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<serde_json::error::Error>
Unexecuted instantiation: <<obws::responses::ui::MonitorSize as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<serde_json::error::Error>
<<obws::responses::ui::MonitorSize as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<serde_json::error::Error>
Line
Count
Source
38
2
#[derive(Debug, Deserialize)]
<<obws::responses::ui::MonitorSize as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<serde::__private::de::FlatStructAccess<serde_json::error::Error>>
Line
Count
Source
38
3
#[derive(Debug, 
D1
eserialize)]
<<obws::responses::ui::MonitorSize as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<serde::__private::de::content::ContentDeserializer<serde_json::error::Error>>
Line
Count
Source
38
2
#[derive(Debug, Deserialize)]
Unexecuted instantiation: <<obws::responses::ui::MonitorSize as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_>
Unexecuted instantiation: <<obws::responses::ui::MonitorSize as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<_>
Unexecuted instantiation: <obws::responses::ui::MonitorSize as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<obws::responses::ui::MonitorSize as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_>
Unexecuted instantiation: <<obws::responses::ui::MonitorSize as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<obws::responses::ui::MonitorSize as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_>
Unexecuted instantiation: <<obws::responses::ui::MonitorSize as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_>
Unexecuted instantiation: <<obws::responses::ui::MonitorSize as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting
Unexecuted instantiation: <<obws::responses::ui::MonitorSize as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::expecting
Unexecuted instantiation: <<obws::responses::ui::MonitorSize as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_>
Unexecuted instantiation: <<obws::responses::ui::MonitorSize as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<_>
Unexecuted instantiation: <<obws::responses::ui::MonitorSize as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_>
Unexecuted instantiation: <<obws::responses::ui::MonitorSize as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_>
Unexecuted instantiation: <<obws::responses::ui::MonitorSize as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_>
Unexecuted instantiation: <<obws::responses::ui::MonitorSize as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting
Unexecuted instantiation: <<obws::responses::ui::MonitorSize as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <obws::responses::ui::MonitorSize as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<obws::responses::ui::MonitorSize as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::expecting
39
pub struct MonitorSize {
40
    /// Pixel width.
41
    #[serde(rename = "monitorWidth")]
42
    pub width: u16,
43
    /// Pixel height.
44
    #[serde(rename = "monitorHeight")]
45
    pub height: u16,
46
}
47
48
/// Response value for [`crate::client::Ui::list_monitors`] as part of [`Monitor`].
49
5
#[derive(
Debug0
,
D3
eserialize)]
Unexecuted instantiation: <obws::responses::ui::MonitorPosition as core::fmt::Debug>::fmt
Unexecuted instantiation: <obws::responses::ui::MonitorPosition as core::fmt::Debug>::fmt
<<obws::responses::ui::MonitorPosition as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<serde::__private::de::FlatStructAccess<serde_json::error::Error>>
Line
Count
Source
49
3
#[derive(Debug, 
D1
eserialize)]
<<obws::responses::ui::MonitorPosition as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<serde_json::error::Error>
Line
Count
Source
49
2
#[derive(Debug, Deserialize)]
<<obws::responses::ui::MonitorPosition as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<serde::__private::de::content::ContentDeserializer<serde_json::error::Error>>
Line
Count
Source
49
2
#[derive(Debug, Deserialize)]
Unexecuted instantiation: <<obws::responses::ui::MonitorPosition as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<serde_json::error::Error>
<obws::responses::ui::MonitorPosition as serde::de::Deserialize>::deserialize::<serde::__private::de::FlatMapDeserializer<serde_json::error::Error>>
Line
Count
Source
49
1
#[derive(Debug, Deserialize)]
Unexecuted instantiation: <<obws::responses::ui::MonitorPosition as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<serde_json::error::Error>
Unexecuted instantiation: <<obws::responses::ui::MonitorPosition as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<obws::responses::ui::MonitorPosition as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_>
Unexecuted instantiation: <obws::responses::ui::MonitorPosition as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<obws::responses::ui::MonitorPosition as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_>
Unexecuted instantiation: <<obws::responses::ui::MonitorPosition as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_>
Unexecuted instantiation: <<obws::responses::ui::MonitorPosition as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<_>
Unexecuted instantiation: <<obws::responses::ui::MonitorPosition as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_>
Unexecuted instantiation: <<obws::responses::ui::MonitorPosition as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::expecting
Unexecuted instantiation: <<obws::responses::ui::MonitorPosition as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting
Unexecuted instantiation: <<obws::responses::ui::MonitorPosition as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_>
Unexecuted instantiation: <<obws::responses::ui::MonitorPosition as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<obws::responses::ui::MonitorPosition as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::expecting
Unexecuted instantiation: <<obws::responses::ui::MonitorPosition as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<_>
Unexecuted instantiation: <<obws::responses::ui::MonitorPosition as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_>
Unexecuted instantiation: <obws::responses::ui::MonitorPosition as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<obws::responses::ui::MonitorPosition as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting
Unexecuted instantiation: <<obws::responses::ui::MonitorPosition as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_>
Unexecuted instantiation: <<obws::responses::ui::MonitorPosition as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_>
50
pub struct MonitorPosition {
51
    /// Horizontal position on the screen.
52
    #[serde(rename = "monitorPositionX")]
53
    pub x: u16,
54
    /// Vertical position on the screen.
55
    #[serde(rename = "monitorPositionY")]
56
    pub y: u16,
57
}