pub struct SearchHint {Show 29 fields
pub album: Option<String>,
pub album_artist: Option<String>,
pub album_id: Option<Uuid>,
pub artists: Vec<String>,
pub backdrop_image_item_id: Option<String>,
pub backdrop_image_tag: Option<String>,
pub channel_id: Option<Uuid>,
pub channel_name: Option<String>,
pub end_date: Option<DateTime<Utc>>,
pub episode_count: Option<i32>,
pub id: Option<Uuid>,
pub index_number: Option<i32>,
pub is_folder: Option<bool>,
pub item_id: Option<Uuid>,
pub matched_term: Option<String>,
pub media_type: Option<MediaType>,
pub name: Option<String>,
pub parent_index_number: Option<i32>,
pub primary_image_aspect_ratio: Option<f64>,
pub primary_image_tag: Option<String>,
pub production_year: Option<i32>,
pub run_time_ticks: Option<i64>,
pub series: Option<String>,
pub song_count: Option<i32>,
pub start_date: Option<DateTime<Utc>>,
pub status: Option<String>,
pub thumb_image_item_id: Option<String>,
pub thumb_image_tag: Option<String>,
pub type_: Option<BaseItemKind>,
}
Expand description
Class SearchHintResult.
JSON schema
{
"description": "Class SearchHintResult.",
"type": "object",
"properties": {
"Album": {
"description": "Gets or sets the album.",
"type": [
"string",
"null"
]
},
"AlbumArtist": {
"description": "Gets or sets the album artist.",
"type": [
"string",
"null"
]
},
"AlbumId": {
"description": "Gets or sets the album id.",
"type": [
"string",
"null"
],
"format": "uuid"
},
"Artists": {
"description": "Gets or sets the artists.",
"type": "array",
"items": {
"type": "string"
}
},
"BackdropImageItemId": {
"description": "Gets or sets the backdrop image item identifier.",
"type": [
"string",
"null"
]
},
"BackdropImageTag": {
"description": "Gets or sets the backdrop image tag.",
"type": [
"string",
"null"
]
},
"ChannelId": {
"description": "Gets or sets the channel identifier.",
"type": [
"string",
"null"
],
"format": "uuid"
},
"ChannelName": {
"description": "Gets or sets the name of the channel.",
"type": [
"string",
"null"
]
},
"EndDate": {
"description": "Gets or sets the end date.",
"type": [
"string",
"null"
],
"format": "date-time"
},
"EpisodeCount": {
"description": "Gets or sets the episode count.",
"type": [
"integer",
"null"
],
"format": "int32"
},
"Id": {
"description": "Gets or sets the item id.",
"type": "string",
"format": "uuid"
},
"IndexNumber": {
"description": "Gets or sets the index number.",
"type": [
"integer",
"null"
],
"format": "int32"
},
"IsFolder": {
"description": "Gets or sets a value indicating whether this
instance is folder.",
"type": [
"boolean",
"null"
]
},
"ItemId": {
"description": "Gets or sets the item id.",
"deprecated": true,
"type": "string",
"format": "uuid"
},
"MatchedTerm": {
"description": "Gets or sets the matched term.",
"type": "string"
},
"MediaType": {
"description": "Gets or sets the type of the media.",
"allOf": [
{
"$ref": "#/components/schemas/MediaType"
}
]
},
"Name": {
"description": "Gets or sets the name.",
"type": "string"
},
"ParentIndexNumber": {
"description": "Gets or sets the parent index number.",
"type": [
"integer",
"null"
],
"format": "int32"
},
"PrimaryImageAspectRatio": {
"description": "Gets or sets the primary image aspect ratio.",
"type": [
"number",
"null"
],
"format": "double"
},
"PrimaryImageTag": {
"description": "Gets or sets the image tag.",
"type": [
"string",
"null"
]
},
"ProductionYear": {
"description": "Gets or sets the production year.",
"type": [
"integer",
"null"
],
"format": "int32"
},
"RunTimeTicks": {
"description": "Gets or sets the run time ticks.",
"type": [
"integer",
"null"
],
"format": "int64"
},
"Series": {
"description": "Gets or sets the series.",
"type": [
"string",
"null"
]
},
"SongCount": {
"description": "Gets or sets the song count.",
"type": [
"integer",
"null"
],
"format": "int32"
},
"StartDate": {
"description": "Gets or sets the start date.",
"type": [
"string",
"null"
],
"format": "date-time"
},
"Status": {
"description": "Gets or sets the status.",
"type": [
"string",
"null"
]
},
"ThumbImageItemId": {
"description": "Gets or sets the thumb image item identifier.",
"type": [
"string",
"null"
]
},
"ThumbImageTag": {
"description": "Gets or sets the thumb image tag.",
"type": [
"string",
"null"
]
},
"Type": {
"description": "Gets or sets the type.",
"allOf": [
{
"$ref": "#/components/schemas/BaseItemKind"
}
]
}
},
"additionalProperties": false
}
Fields§
§album: Option<String>
Gets or sets the album.
album_artist: Option<String>
Gets or sets the album artist.
album_id: Option<Uuid>
Gets or sets the album id.
artists: Vec<String>
Gets or sets the artists.
backdrop_image_item_id: Option<String>
Gets or sets the backdrop image item identifier.
backdrop_image_tag: Option<String>
Gets or sets the backdrop image tag.
channel_id: Option<Uuid>
Gets or sets the channel identifier.
channel_name: Option<String>
Gets or sets the name of the channel.
end_date: Option<DateTime<Utc>>
Gets or sets the end date.
episode_count: Option<i32>
Gets or sets the episode count.
id: Option<Uuid>
Gets or sets the item id.
index_number: Option<i32>
Gets or sets the index number.
is_folder: Option<bool>
Gets or sets a value indicating whether this instance is folder.
item_id: Option<Uuid>
Gets or sets the item id.
matched_term: Option<String>
Gets or sets the matched term.
media_type: Option<MediaType>
Gets or sets the type of the media.
name: Option<String>
Gets or sets the name.
parent_index_number: Option<i32>
Gets or sets the parent index number.
primary_image_aspect_ratio: Option<f64>
Gets or sets the primary image aspect ratio.
primary_image_tag: Option<String>
Gets or sets the image tag.
production_year: Option<i32>
Gets or sets the production year.
run_time_ticks: Option<i64>
Gets or sets the run time ticks.
series: Option<String>
Gets or sets the series.
song_count: Option<i32>
Gets or sets the song count.
start_date: Option<DateTime<Utc>>
Gets or sets the start date.
status: Option<String>
Gets or sets the status.
thumb_image_item_id: Option<String>
Gets or sets the thumb image item identifier.
thumb_image_tag: Option<String>
Gets or sets the thumb image tag.
type_: Option<BaseItemKind>
Gets or sets the type.
Implementations§
Source§impl SearchHint
impl SearchHint
pub fn builder() -> SearchHint
Trait Implementations§
Source§impl Clone for SearchHint
impl Clone for SearchHint
Source§fn clone(&self) -> SearchHint
fn clone(&self) -> SearchHint
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more