Coverage Report

Created: 2022-07-04 16:17

src/responses/outputs.rs
Line
Count
Source (jump to first uncovered line)
1
//! Responses related to outputs.
2
3
use serde::Deserialize;
4
use time::Duration;
5
6
3
#[derive(
Debug0
,
D2
eserialize)]
Unexecuted instantiation: <obws::responses::outputs::OutputList as core::fmt::Debug>::fmt
Unexecuted instantiation: <obws::responses::outputs::OutputList as core::fmt::Debug>::fmt
<<obws::responses::outputs::OutputList as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<&mut serde_json::value::de::MapDeserializer>
Line
Count
Source
6
2
#[derive(Debug, 
D1
eserialize)]
Unexecuted instantiation: <<obws::responses::outputs::OutputList as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<&mut serde_json::value::de::SeqDeserializer>
<<obws::responses::outputs::OutputList as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<serde_json::error::Error>
Line
Count
Source
6
1
#[derive(Debug, Deserialize)]
<<obws::responses::outputs::OutputList as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<serde_json::value::de::MapKeyDeserializer>
Line
Count
Source
6
1
#[derive(Debug, Deserialize)]
<obws::responses::outputs::OutputList as serde::de::Deserialize>::deserialize::<serde_json::value::Value>
Line
Count
Source
6
1
#[derive(Debug, Deserialize)]
Unexecuted instantiation: <<obws::responses::outputs::OutputList as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputList as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputList as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_>
Unexecuted instantiation: <obws::responses::outputs::OutputList as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputList as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputList as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputList as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputList as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting
Unexecuted instantiation: <<obws::responses::outputs::OutputList as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::expecting
Unexecuted instantiation: <<obws::responses::outputs::OutputList as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputList as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputList as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputList as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::expecting
Unexecuted instantiation: <<obws::responses::outputs::OutputList as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputList as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <obws::responses::outputs::OutputList as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputList as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting
Unexecuted instantiation: <<obws::responses::outputs::OutputList as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_>
7
pub(crate) struct OutputList {
8
    pub outputs: Vec<Output>,
9
}
10
11
/// Response value for [`crate::client::Outputs::list`].
12
39
#[derive(
Debug0
,
D18
ese
rializ21
e)]
Unexecuted instantiation: <obws::responses::outputs::Output as core::fmt::Debug>::fmt
Unexecuted instantiation: <obws::responses::outputs::Output as core::fmt::Debug>::fmt
<<obws::responses::outputs::Output as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<&mut serde_json::value::de::MapDeserializer>
Line
Count
Source
12
21
#[derive(Debug, Deserialize)]
<obws::responses::outputs::Output as serde::de::Deserialize>::deserialize::<serde_json::value::Value>
Line
Count
Source
12
3
#[derive(Debug, Deserialize)]
<<obws::responses::outputs::Output as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<serde_json::value::de::MapKeyDeserializer>
Line
Count
Source
12
18
#[derive(Debug, Deserialize)]
Unexecuted instantiation: <<obws::responses::outputs::Output as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<&mut serde_json::value::de::SeqDeserializer>
<<obws::responses::outputs::Output as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<serde_json::error::Error>
Line
Count
Source
12
18
#[derive(Debug, Deserialize)]
Unexecuted instantiation: <<obws::responses::outputs::Output as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_>
Unexecuted instantiation: <<obws::responses::outputs::Output as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_>
Unexecuted instantiation: <<obws::responses::outputs::Output as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<_>
Unexecuted instantiation: <obws::responses::outputs::Output as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<obws::responses::outputs::Output as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_>
Unexecuted instantiation: <<obws::responses::outputs::Output as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<obws::responses::outputs::Output as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_>
Unexecuted instantiation: <<obws::responses::outputs::Output as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting
Unexecuted instantiation: <<obws::responses::outputs::Output as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::expecting
Unexecuted instantiation: <<obws::responses::outputs::Output as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_>
Unexecuted instantiation: <<obws::responses::outputs::Output as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<obws::responses::outputs::Output as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_>
Unexecuted instantiation: <<obws::responses::outputs::Output as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<_>
Unexecuted instantiation: <<obws::responses::outputs::Output as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::expecting
Unexecuted instantiation: <<obws::responses::outputs::Output as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_>
Unexecuted instantiation: <obws::responses::outputs::Output as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<obws::responses::outputs::Output as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_>
Unexecuted instantiation: <<obws::responses::outputs::Output as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting
13
pub struct Output {
14
    /// Name of this output.
15
    #[serde(rename = "outputName")]
16
    pub name: String,
17
    /// The kind of output.
18
    #[serde(rename = "outputKind")]
19
    pub kind: String,
20
    /// Horizontal dimension of the output (if it is a video output).
21
    #[serde(rename = "outputWidth")]
22
    pub width: u32,
23
    /// Vertical dimension of the output (if it is a video output).
24
    #[serde(rename = "outputHeight")]
25
    pub height: u32,
26
    /// Whether this output is currently active.
27
    #[serde(rename = "outputActive")]
28
    pub active: bool,
29
    /// Additional flags to describe capabilities of the output.
30
    #[serde(rename = "outputFlags")]
31
    pub flags: OutputFlags,
32
}
33
34
/// Response value for [`crate::client::Outputs::list`] as part of [`Output`].
35
33
#[derive(
Debug0
,
D15
ese
rializ18
e)]
Unexecuted instantiation: <obws::responses::outputs::OutputFlags as core::fmt::Debug>::fmt
Unexecuted instantiation: <obws::responses::outputs::OutputFlags as core::fmt::Debug>::fmt
<<obws::responses::outputs::OutputFlags as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<serde_json::value::de::MapKeyDeserializer>
Line
Count
Source
35
15
#[derive(Debug, Deserialize)]
Unexecuted instantiation: <obws::responses::outputs::OutputFlags as serde::de::Deserialize>::deserialize::<serde::__private::de::missing_field::MissingFieldDeserializer<serde_json::error::Error>>
<<obws::responses::outputs::OutputFlags as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<serde_json::error::Error>
Line
Count
Source
35
15
#[derive(Debug, Deserialize)]
Unexecuted instantiation: <<obws::responses::outputs::OutputFlags as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<&mut serde_json::value::de::SeqDeserializer>
<obws::responses::outputs::OutputFlags as serde::de::Deserialize>::deserialize::<serde_json::value::Value>
Line
Count
Source
35
3
#[derive(Debug, Deserialize)]
<<obws::responses::outputs::OutputFlags as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<&mut serde_json::value::de::MapDeserializer>
Line
Count
Source
35
18
#[derive(Debug, Deserialize)]
Unexecuted instantiation: <<obws::responses::outputs::OutputFlags as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputFlags as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputFlags as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputFlags as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_>
Unexecuted instantiation: <obws::responses::outputs::OutputFlags as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputFlags as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputFlags as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputFlags as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::expecting
Unexecuted instantiation: <<obws::responses::outputs::OutputFlags as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting
Unexecuted instantiation: <<obws::responses::outputs::OutputFlags as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputFlags as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_>
Unexecuted instantiation: <obws::responses::outputs::OutputFlags as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputFlags as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputFlags as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputFlags as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputFlags as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting
Unexecuted instantiation: <<obws::responses::outputs::OutputFlags as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputFlags as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::expecting
36
pub struct OutputFlags {
37
    /// Output supports audio.
38
    #[serde(rename = "OBS_OUTPUT_AUDIO")]
39
    pub audio: bool,
40
    /// Output supports video.
41
    #[serde(rename = "OBS_OUTPUT_VIDEO")]
42
    pub video: bool,
43
    /// Output encodes data.
44
    #[serde(rename = "OBS_OUTPUT_ENCODED")]
45
    pub encoded: bool,
46
    /// Output supports multiple audio/video tracks.
47
    #[serde(rename = "OBS_OUTPUT_MULTI_TRACK")]
48
    pub multi_track: bool,
49
    /// Output is a service.
50
    #[serde(rename = "OBS_OUTPUT_SERVICE")]
51
    pub service: bool,
52
}
53
54
/// Response value for [`crate::client::Outputs::status`].
55
19
#[derive(
Debug0
,
D10
ese
rializ1
e)]
Unexecuted instantiation: <obws::responses::outputs::OutputStatus as core::fmt::Debug>::fmt
Unexecuted instantiation: <obws::responses::outputs::OutputStatus as core::fmt::Debug>::fmt
Unexecuted instantiation: <<obws::responses::outputs::OutputStatus as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<&mut serde_json::value::de::SeqDeserializer>::{closure#1}
<<obws::responses::outputs::OutputStatus as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<serde_json::error::Error>
Line
Count
Source
55
8
#[derive(Debug, Deserialize)]
Unexecuted instantiation: <<obws::responses::outputs::OutputStatus as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<&mut serde_json::value::de::SeqDeserializer>::{closure#0}
<<obws::responses::outputs::OutputStatus as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<&mut serde_json::value::de::MapDeserializer>
Line
Count
Source
55
9
#[derive(Debug, 
Dese1
rializ1
e)]
<<obws::responses::outputs::OutputStatus as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<serde_json::value::de::MapKeyDeserializer>
Line
Count
Source
55
8
#[derive(Debug, Deserialize)]
Unexecuted instantiation: <<<obws::responses::outputs::OutputStatus as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::__DeserializeWith as serde::de::Deserialize>::deserialize::<serde_json::value::Value>
<<<obws::responses::outputs::OutputStatus 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
55
1
#[derive(Debug, Deserialize)]
Unexecuted instantiation: <<<obws::responses::outputs::OutputStatus as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::__DeserializeWith as serde::de::Deserialize>::deserialize::<serde_json::value::Value>
<obws::responses::outputs::OutputStatus as serde::de::Deserialize>::deserialize::<serde_json::value::Value>
Line
Count
Source
55
1
#[derive(Debug, Deserialize)]
<<<obws::responses::outputs::OutputStatus 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
55
1
#[derive(Debug, Deserialize)]
Unexecuted instantiation: <<obws::responses::outputs::OutputStatus as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<&mut serde_json::value::de::SeqDeserializer>
Unexecuted instantiation: <<obws::responses::outputs::OutputStatus as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputStatus as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputStatus as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_>
Unexecuted instantiation: <obws::responses::outputs::OutputStatus as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<<obws::responses::outputs::OutputStatus as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::__DeserializeWith as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputStatus as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputStatus as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_>
Unexecuted instantiation: <<<obws::responses::outputs::OutputStatus as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::__DeserializeWith as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputStatus as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_>::{closure#0}
Unexecuted instantiation: <<<obws::responses::outputs::OutputStatus as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::__DeserializeWith as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputStatus as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_>::{closure#1}
Unexecuted instantiation: <<obws::responses::outputs::OutputStatus as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_>
Unexecuted instantiation: <<<obws::responses::outputs::OutputStatus as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::__DeserializeWith as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputStatus as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::expecting
Unexecuted instantiation: <<obws::responses::outputs::OutputStatus as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting
Unexecuted instantiation: <<obws::responses::outputs::OutputStatus as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::expecting
Unexecuted instantiation: <<obws::responses::outputs::OutputStatus as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_>
Unexecuted instantiation: <obws::responses::outputs::OutputStatus as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<<obws::responses::outputs::OutputStatus as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::__DeserializeWith as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputStatus as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputStatus as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting
Unexecuted instantiation: <<obws::responses::outputs::OutputStatus as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_>::{closure#0}
Unexecuted instantiation: <<obws::responses::outputs::OutputStatus as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_>::{closure#1}
Unexecuted instantiation: <<<obws::responses::outputs::OutputStatus as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::__DeserializeWith as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<<obws::responses::outputs::OutputStatus as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::__DeserializeWith as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputStatus as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_>
Unexecuted instantiation: <<<obws::responses::outputs::OutputStatus as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::__DeserializeWith as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputStatus as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputStatus as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputStatus as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<_>
56
pub struct OutputStatus {
57
    /// Whether the output is active.
58
    #[serde(rename = "outputActive")]
59
    pub active: bool,
60
    /// Whether the output is currently reconnecting.
61
    #[serde(rename = "outputReconnecting")]
62
    pub reconnecting: bool,
63
    /// Current time code for the output.
64
    #[serde(rename = "outputTimecode", with = "crate::serde::duration_timecode")]
65
    pub timecode: Duration,
66
    /// Current duration for the output.
67
    #[serde(rename = "outputDuration", with = "crate::serde::duration_millis")]
68
    pub duration: Duration,
69
    /// Congestion of the output.
70
    #[serde(rename = "outputCongestion")]
71
    pub congestion: f32,
72
    /// Number of bytes sent by the output.
73
    #[serde(rename = "outputBytes")]
74
    pub bytes: u64,
75
    /// Number of frames skipped by the output's process.
76
    #[serde(rename = "outputSkippedFrames")]
77
    pub skipped_frames: u32,
78
    /// Total number of frames delivered by the output's process.
79
    #[serde(rename = "outputTotalFrames")]
80
    pub total_frames: u32,
81
}
82
83
6
#[derive(
Debug0
,
D4
eserialize)]
Unexecuted instantiation: <obws::responses::outputs::OutputActive as core::fmt::Debug>::fmt
Unexecuted instantiation: <obws::responses::outputs::OutputActive as core::fmt::Debug>::fmt
<<obws::responses::outputs::OutputActive as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<serde_json::error::Error>
Line
Count
Source
83
2
#[derive(Debug, Deserialize)]
<<obws::responses::outputs::OutputActive as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<&mut serde_json::value::de::MapDeserializer>
Line
Count
Source
83
4
#[derive(Debug, 
D2
eserialize)]
Unexecuted instantiation: <<obws::responses::outputs::OutputActive as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<&mut serde_json::value::de::SeqDeserializer>
<obws::responses::outputs::OutputActive as serde::de::Deserialize>::deserialize::<serde_json::value::Value>
Line
Count
Source
83
2
#[derive(Debug, Deserialize)]
<<obws::responses::outputs::OutputActive as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<serde_json::value::de::MapKeyDeserializer>
Line
Count
Source
83
2
#[derive(Debug, Deserialize)]
Unexecuted instantiation: <obws::responses::outputs::OutputActive as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputActive as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputActive as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputActive as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputActive as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputActive as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputActive as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputActive as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::expecting
Unexecuted instantiation: <<obws::responses::outputs::OutputActive as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting
Unexecuted instantiation: <<obws::responses::outputs::OutputActive as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputActive as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputActive as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::expecting
Unexecuted instantiation: <<obws::responses::outputs::OutputActive as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputActive as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <obws::responses::outputs::OutputActive as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputActive as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputActive as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting
Unexecuted instantiation: <<obws::responses::outputs::OutputActive as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_>
84
pub(crate) struct OutputActive {
85
    /// New state of the stream output.
86
    #[serde(rename = "outputActive")]
87
    pub active: bool,
88
}
89
90
3
#[derive(
Debug0
,
D2
eserialize)]
Unexecuted instantiation: <obws::responses::outputs::OutputSettings<_> as core::fmt::Debug>::fmt
Unexecuted instantiation: <obws::responses::outputs::OutputSettings<_> as core::fmt::Debug>::fmt
<obws::responses::outputs::OutputSettings<serde_json::value::Value> as serde::de::Deserialize>::deserialize::<serde_json::value::Value>
Line
Count
Source
90
1
#[derive(Debug, Deserialize)]
Unexecuted instantiation: <<obws::responses::outputs::OutputSettings<_> as serde::de::Deserialize>::deserialize::__Visitor<serde_json::value::Value> as serde::de::Visitor>::visit_seq::<&mut serde_json::value::de::SeqDeserializer>
<<obws::responses::outputs::OutputSettings<_> as serde::de::Deserialize>::deserialize::__Visitor<serde_json::value::Value> as serde::de::Visitor>::visit_map::<&mut serde_json::value::de::MapDeserializer>
Line
Count
Source
90
2
#[derive(Debug, 
D1
eserialize)]
Unexecuted instantiation: <<obws::responses::outputs::OutputSettings<_> as serde::de::Deserialize>::deserialize::__Visitor<serde_json::value::Value> as serde::de::Visitor>::expecting
<<obws::responses::outputs::OutputSettings<_> as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<serde_json::error::Error>
Line
Count
Source
90
1
#[derive(Debug, Deserialize)]
<<obws::responses::outputs::OutputSettings<_> as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<serde_json::value::de::MapKeyDeserializer>
Line
Count
Source
90
1
#[derive(Debug, Deserialize)]
Unexecuted instantiation: <<obws::responses::outputs::OutputSettings<_> as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputSettings<_> as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputSettings<_> as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputSettings<_> as serde::de::Deserialize>::deserialize::__Visitor<_> as serde::de::Visitor>::visit_map::<_>
Unexecuted instantiation: <obws::responses::outputs::OutputSettings<_> as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputSettings<_> as serde::de::Deserialize>::deserialize::__Visitor<_> as serde::de::Visitor>::expecting
Unexecuted instantiation: <<obws::responses::outputs::OutputSettings<_> as serde::de::Deserialize>::deserialize::__Visitor<_> as serde::de::Visitor>::visit_seq::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputSettings<_> as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputSettings<_> as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::expecting
Unexecuted instantiation: <<obws::responses::outputs::OutputSettings<_> as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputSettings<_> as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputSettings<_> as serde::de::Deserialize>::deserialize::__Visitor<_> as serde::de::Visitor>::visit_seq::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputSettings<_> as serde::de::Deserialize>::deserialize::__Visitor<_> as serde::de::Visitor>::expecting
Unexecuted instantiation: <<obws::responses::outputs::OutputSettings<_> as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputSettings<_> as serde::de::Deserialize>::deserialize::__Visitor<_> as serde::de::Visitor>::visit_map::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputSettings<_> as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<obws::responses::outputs::OutputSettings<_> as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::expecting
Unexecuted instantiation: <obws::responses::outputs::OutputSettings<_> as serde::de::Deserialize>::deserialize::<_>
91
pub(crate) struct OutputSettings<T> {
92
    #[serde(rename = "outputSettings")]
93
    pub settings: T,
94
}