Coverage Report

Created: 2022-07-04 16:17

src/responses/profiles.rs
Line
Count
Source (jump to first uncovered line)
1
//! Responses related to profiles.
2
3
use serde::Deserialize;
4
5
/// Response value for [`crate::client::Profiles::list`].
6
100
#[derive(
Debug0
,
D40
ese
rializ0
e)]
Unexecuted instantiation: <obws::responses::profiles::Profiles as core::fmt::Debug>::fmt
Unexecuted instantiation: <obws::responses::profiles::Profiles as core::fmt::Debug>::fmt
Unexecuted instantiation: <<obws::responses::profiles::Profiles as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<&mut serde_json::value::de::MapDeserializer>
<<obws::responses::profiles::Profiles as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<serde_json::error::Error>
Line
Count
Source
6
40
#[derive(Debug, Deserialize)]
<<obws::responses::profiles::Profiles as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<serde_json::value::de::MapKeyDeserializer>
Line
Count
Source
6
40
#[derive(Debug, Deserialize)]
<obws::responses::profiles::Profiles as serde::de::Deserialize>::deserialize::<serde_json::value::Value>
Line
Count
Source
6
20
#[derive(Debug, Deserialize)]
Unexecuted instantiation: <<obws::responses::profiles::Profiles as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<&mut serde_json::value::de::SeqDeserializer>
Unexecuted instantiation: <obws::responses::profiles::Profiles as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<obws::responses::profiles::Profiles as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_>
Unexecuted instantiation: <<obws::responses::profiles::Profiles as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_>
Unexecuted instantiation: <<obws::responses::profiles::Profiles as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<_>
Unexecuted instantiation: <<obws::responses::profiles::Profiles as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_>
Unexecuted instantiation: <<obws::responses::profiles::Profiles as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<obws::responses::profiles::Profiles as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_>
Unexecuted instantiation: <<obws::responses::profiles::Profiles as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting
Unexecuted instantiation: <<obws::responses::profiles::Profiles as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::expecting
Unexecuted instantiation: <<obws::responses::profiles::Profiles as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<_>
Unexecuted instantiation: <<obws::responses::profiles::Profiles as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_>
Unexecuted instantiation: <<obws::responses::profiles::Profiles as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <obws::responses::profiles::Profiles as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<obws::responses::profiles::Profiles as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting
Unexecuted instantiation: <<obws::responses::profiles::Profiles as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_>
Unexecuted instantiation: <<obws::responses::profiles::Profiles as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_>
Unexecuted instantiation: <<obws::responses::profiles::Profiles as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::expecting
Unexecuted instantiation: <<obws::responses::profiles::Profiles as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_>
7
pub struct Profiles {
8
    /// The name of the current profile.
9
    #[serde(rename = "currentProfileName")]
10
    pub current: String,
11
    /// Array of all available profiles.
12
    pub profiles: Vec<String>,
13
}
14
15
/// Response value for [`crate::client::Profiles::parameter`].
16
5
#[derive(
Debug0
,
D2
ese
rializ0
e)]
Unexecuted instantiation: <obws::responses::profiles::ProfileParameter as core::fmt::Debug>::fmt
Unexecuted instantiation: <obws::responses::profiles::ProfileParameter as core::fmt::Debug>::fmt
<<obws::responses::profiles::ProfileParameter as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<serde_json::value::de::MapKeyDeserializer>
Line
Count
Source
16
2
#[derive(Debug, Deserialize)]
<obws::responses::profiles::ProfileParameter as serde::de::Deserialize>::deserialize::<serde_json::value::Value>
Line
Count
Source
16
1
#[derive(Debug, Deserialize)]
<<obws::responses::profiles::ProfileParameter as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<serde_json::error::Error>
Line
Count
Source
16
2
#[derive(Debug, Deserialize)]
Unexecuted instantiation: <<obws::responses::profiles::ProfileParameter as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<&mut serde_json::value::de::SeqDeserializer>
Unexecuted instantiation: <<obws::responses::profiles::ProfileParameter as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<&mut serde_json::value::de::MapDeserializer>
Unexecuted instantiation: <<obws::responses::profiles::ProfileParameter as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_>
Unexecuted instantiation: <<obws::responses::profiles::ProfileParameter as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_>
Unexecuted instantiation: <obws::responses::profiles::ProfileParameter as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<obws::responses::profiles::ProfileParameter as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<obws::responses::profiles::ProfileParameter as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_>
Unexecuted instantiation: <<obws::responses::profiles::ProfileParameter as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<_>
Unexecuted instantiation: <<obws::responses::profiles::ProfileParameter as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_>
Unexecuted instantiation: <<obws::responses::profiles::ProfileParameter as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting
Unexecuted instantiation: <<obws::responses::profiles::ProfileParameter as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::expecting
Unexecuted instantiation: <<obws::responses::profiles::ProfileParameter as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_>
Unexecuted instantiation: <<obws::responses::profiles::ProfileParameter as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<_>
Unexecuted instantiation: <<obws::responses::profiles::ProfileParameter as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting
Unexecuted instantiation: <<obws::responses::profiles::ProfileParameter as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::<_>
Unexecuted instantiation: <<obws::responses::profiles::ProfileParameter as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::expecting
Unexecuted instantiation: <<obws::responses::profiles::ProfileParameter as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_>
Unexecuted instantiation: <<obws::responses::profiles::ProfileParameter as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_>
Unexecuted instantiation: <<obws::responses::profiles::ProfileParameter as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_>
Unexecuted instantiation: <obws::responses::profiles::ProfileParameter as serde::de::Deserialize>::deserialize::<_>
17
pub struct ProfileParameter {
18
    /// Value associated with the parameter.
19
    #[serde(rename = "parameterValue")]
20
    pub value: Option<String>,
21
    /// Default value associated with the parameter.
22
    #[serde(rename = "defaultParameterValue")]
23
    pub default_value: Option<String>,
24
}