pub struct Release {Show 26 fields
pub id: String,
pub title: String,
pub title_orig: String,
pub other_title: Option<String>,
pub link: String,
pub year: i32,
pub kinopoisk_id: Option<String>,
pub imdb_id: Option<String>,
pub mdl_id: Option<String>,
pub worldart_link: Option<String>,
pub shikimori_id: Option<String>,
pub release_type: ReleaseType,
pub quality: ReleaseQuality,
pub camrip: bool,
pub lgbt: bool,
pub translation: Translation,
pub created_at: String,
pub updated_at: String,
pub blocked_seasons: Option<BTreeMap<String, BlockedSeason>>,
pub seasons: Option<BTreeMap<String, Season>>,
pub last_season: Option<i32>,
pub last_episode: Option<i32>,
pub episodes_count: Option<i32>,
pub blocked_countries: Vec<String>,
pub material_data: Option<MaterialData>,
pub screenshots: Vec<String>,
}Expand description
Represents a release on Kodik
Fields§
§id: String"movie-452654"
title: String"Аватар"
title_orig: String"Avatar"
other_title: Option<String>Other titles that are often used in anime
link: String"http://kodik.cc/video/19850/6476310cc6d90aa9304d5d8af3a91279/720p"
year: i32Year of release of the title
kinopoisk_id: Option<String>43949
imdb_id: Option<String>tt0084716
mdl_id: Option<String>1245
worldart_link: Option<String>Link to the material on World Art (not using ID because there are different
shikimori_id: Option<String>1234
release_type: ReleaseType§quality: ReleaseQuality§camrip: boolIs the material a camrip
lgbt: boolDoes the material contain LGBT scenes
translation: TranslationThe team that did the translation
created_at: StringISO 8601
updated_at: StringISO 8601
blocked_seasons: Option<BTreeMap<String, BlockedSeason>>If the series is blocked entirely, this field contains the string "all". If individual seasons are blocked, the field is an object containing season numbers, and for each season: either "all" (if all episodes are blocked) or an array of episode numbers ["1", "2", "3"] (if individual episodes are blocked). If nothing is blocked, the field is an empty object. This field is present only in materials with the series type.
seasons: Option<BTreeMap<String, Season>>Object with seasons and episodes in them. This field is present only if the parameters with_seasons or with_episodes, with_episodes_data were specified in the request.
last_season: Option<i32>Number of the last season of the series. This field is present only in materials with the series type.
last_episode: Option<i32>Number of the last episode of the series. This field is present only in materials with the series type.
episodes_count: Option<i32>Total number of episodes in the series. This field is present only in materials with the series type.
blocked_countries: Vec<String>Array containing countries where the material is blocked. Empty array if the material is not blocked anywhere.
material_data: Option<MaterialData>§screenshots: Vec<String>Links to frames from the video. For series, frames from the first episode are displayed in the main information. To get frames from each episode, use the with_episodes_data.