pub struct TunerHostInfo {
pub allow_hw_transcoding: Option<bool>,
pub device_id: Option<String>,
pub enable_stream_looping: Option<bool>,
pub friendly_name: Option<String>,
pub id: Option<String>,
pub ignore_dts: Option<bool>,
pub import_favorites_only: Option<bool>,
pub source: Option<String>,
pub tuner_count: Option<i32>,
pub type_: Option<String>,
pub url: Option<String>,
pub user_agent: Option<String>,
}
Expand description
TunerHostInfo
JSON schema
{
"type": "object",
"properties": {
"AllowHWTranscoding": {
"type": "boolean"
},
"DeviceId": {
"type": [
"string",
"null"
]
},
"EnableStreamLooping": {
"type": "boolean"
},
"FriendlyName": {
"type": [
"string",
"null"
]
},
"Id": {
"type": [
"string",
"null"
]
},
"IgnoreDts": {
"type": "boolean"
},
"ImportFavoritesOnly": {
"type": "boolean"
},
"Source": {
"type": [
"string",
"null"
]
},
"TunerCount": {
"type": "integer",
"format": "int32"
},
"Type": {
"type": [
"string",
"null"
]
},
"Url": {
"type": [
"string",
"null"
]
},
"UserAgent": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
Fields§
§allow_hw_transcoding: Option<bool>
§device_id: Option<String>
§enable_stream_looping: Option<bool>
§friendly_name: Option<String>
§id: Option<String>
§ignore_dts: Option<bool>
§import_favorites_only: Option<bool>
§source: Option<String>
§tuner_count: Option<i32>
§type_: Option<String>
§url: Option<String>
§user_agent: Option<String>
Implementations§
Source§impl TunerHostInfo
impl TunerHostInfo
pub fn builder() -> TunerHostInfo
Trait Implementations§
Source§impl Clone for TunerHostInfo
impl Clone for TunerHostInfo
Source§fn clone(&self) -> TunerHostInfo
fn clone(&self) -> TunerHostInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TunerHostInfo
impl Debug for TunerHostInfo
Source§impl<'de> Deserialize<'de> for TunerHostInfo
impl<'de> Deserialize<'de> for TunerHostInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&TunerHostInfo> for TunerHostInfo
impl From<&TunerHostInfo> for TunerHostInfo
Source§fn from(value: &TunerHostInfo) -> Self
fn from(value: &TunerHostInfo) -> Self
Converts to this type from the input type.
Source§impl From<TunerHostInfo> for TunerHostInfo
impl From<TunerHostInfo> for TunerHostInfo
Source§fn from(value: TunerHostInfo) -> Self
fn from(value: TunerHostInfo) -> Self
Converts to this type from the input type.
Source§impl Serialize for TunerHostInfo
impl Serialize for TunerHostInfo
Source§impl TryFrom<TunerHostInfo> for TunerHostInfo
impl TryFrom<TunerHostInfo> for TunerHostInfo
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: TunerHostInfo) -> Result<Self, ConversionError>
fn try_from(value: TunerHostInfo) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for TunerHostInfo
impl RefUnwindSafe for TunerHostInfo
impl Send for TunerHostInfo
impl Sync for TunerHostInfo
impl Unpin for TunerHostInfo
impl UnwindSafe for TunerHostInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more