pub struct SeriesInfo {
pub index_number: Option<i32>,
pub is_automated: Option<bool>,
pub metadata_country_code: Option<String>,
pub metadata_language: Option<String>,
pub name: Option<String>,
pub original_title: Option<String>,
pub parent_index_number: Option<i32>,
pub path: Option<String>,
pub premiere_date: Option<DateTime<Utc>>,
pub provider_ids: Option<HashMap<String, Option<String>>>,
pub year: Option<i32>,
}
Expand description
SeriesInfo
JSON schema
{
"type": "object",
"properties": {
"IndexNumber": {
"type": [
"integer",
"null"
],
"format": "int32"
},
"IsAutomated": {
"type": "boolean"
},
"MetadataCountryCode": {
"description": "Gets or sets the metadata country code.",
"type": [
"string",
"null"
]
},
"MetadataLanguage": {
"description": "Gets or sets the metadata language.",
"type": [
"string",
"null"
]
},
"Name": {
"description": "Gets or sets the name.",
"type": [
"string",
"null"
]
},
"OriginalTitle": {
"description": "Gets or sets the original title.",
"type": [
"string",
"null"
]
},
"ParentIndexNumber": {
"type": [
"integer",
"null"
],
"format": "int32"
},
"Path": {
"description": "Gets or sets the path.",
"type": [
"string",
"null"
]
},
"PremiereDate": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"ProviderIds": {
"description": "Gets or sets the provider ids.",
"type": [
"object",
"null"
],
"additionalProperties": {
"type": [
"string",
"null"
]
}
},
"Year": {
"description": "Gets or sets the year.",
"type": [
"integer",
"null"
],
"format": "int32"
}
},
"additionalProperties": false
}
Fields§
§index_number: Option<i32>
§is_automated: Option<bool>
§metadata_country_code: Option<String>
Gets or sets the metadata country code.
metadata_language: Option<String>
Gets or sets the metadata language.
name: Option<String>
Gets or sets the name.
original_title: Option<String>
Gets or sets the original title.
parent_index_number: Option<i32>
§path: Option<String>
Gets or sets the path.
premiere_date: Option<DateTime<Utc>>
§provider_ids: Option<HashMap<String, Option<String>>>
Gets or sets the provider ids.
year: Option<i32>
Gets or sets the year.
Implementations§
Source§impl SeriesInfo
impl SeriesInfo
pub fn builder() -> SeriesInfo
Trait Implementations§
Source§impl Clone for SeriesInfo
impl Clone for SeriesInfo
Source§fn clone(&self) -> SeriesInfo
fn clone(&self) -> SeriesInfo
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 SeriesInfo
impl Debug for SeriesInfo
Source§impl<'de> Deserialize<'de> for SeriesInfo
impl<'de> Deserialize<'de> for SeriesInfo
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<&SeriesInfo> for SeriesInfo
impl From<&SeriesInfo> for SeriesInfo
Source§fn from(value: &SeriesInfo) -> Self
fn from(value: &SeriesInfo) -> Self
Converts to this type from the input type.
Source§impl From<SeriesInfo> for SeriesInfo
impl From<SeriesInfo> for SeriesInfo
Source§fn from(value: SeriesInfo) -> Self
fn from(value: SeriesInfo) -> Self
Converts to this type from the input type.
Source§impl Serialize for SeriesInfo
impl Serialize for SeriesInfo
Source§impl TryFrom<SeriesInfo> for SeriesInfo
impl TryFrom<SeriesInfo> for SeriesInfo
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: SeriesInfo) -> Result<Self, ConversionError>
fn try_from(value: SeriesInfo) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SeriesInfo
impl RefUnwindSafe for SeriesInfo
impl Send for SeriesInfo
impl Sync for SeriesInfo
impl Unpin for SeriesInfo
impl UnwindSafe for SeriesInfo
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