pub struct SearchQuery {Show 27 fields
pub title: Option<String>,
pub title_orig: Option<String>,
pub strict: bool,
pub full_match: bool,
pub id: Option<String>,
pub player_link: Option<String>,
pub kinopoisk_ids: Vec<String>,
pub imdb_ids: Vec<String>,
pub mdl_ids: Vec<String>,
pub worldart_animation_ids: Vec<String>,
pub worldart_cinema_ids: Vec<String>,
pub worldart_link: Option<String>,
pub shikimori_ids: Vec<String>,
pub limit: Option<u8>,
pub filters: Filters,
pub prioritize_translations: Vec<String>,
pub unprioritize_translations: Vec<String>,
pub prioritize_translation_type: Option<TranslationType>,
pub with_seasons: bool,
pub season: Option<u32>,
pub with_episodes: bool,
pub with_episodes_data: bool,
pub episode: Option<u32>,
pub with_page_links: bool,
pub not_blocked_in: Vec<String>,
pub not_blocked_for_me: bool,
pub with_material_data: bool,
}Expand description
Параметры точного и нечёткого поиска /search.
Хотя бы одно поле-критерий должно быть заполнено: название, Kodik ID, ссылка плеера или один из внешних идентификаторов.
Fields§
§title: Option<String>§title_orig: Option<String>§strict: bool§full_match: bool§id: Option<String>§player_link: Option<String>§kinopoisk_ids: Vec<String>§imdb_ids: Vec<String>§mdl_ids: Vec<String>§worldart_animation_ids: Vec<String>§worldart_cinema_ids: Vec<String>§worldart_link: Option<String>§shikimori_ids: Vec<String>§limit: Option<u8>Максимум результатов, от 1 до 100. None оставляет ограничение API.
filters: Filters§prioritize_translations: Vec<String>Последовательность ID/типов перевода с более высоким приоритетом. Значение "0"
в списке отключает серверную приоритизацию по умолчанию.
unprioritize_translations: Vec<String>Последовательность ID/типов перевода с более низким приоритетом.
prioritize_translation_type: Option<TranslationType>§with_seasons: bool§season: Option<u32>§with_episodes: bool§with_episodes_data: bool§episode: Option<u32>§with_page_links: bool§not_blocked_in: Vec<String>§not_blocked_for_me: bool§with_material_data: boolImplementations§
Trait Implementations§
Source§impl Clone for SearchQuery
impl Clone for SearchQuery
Source§impl Debug for SearchQuery
impl Debug for SearchQuery
Source§impl Default for SearchQuery
impl Default for SearchQuery
impl Eq for SearchQuery
Source§impl PartialEq for SearchQuery
impl PartialEq for SearchQuery
impl StructuralPartialEq for SearchQuery
Auto Trait Implementations§
impl Freeze for SearchQuery
impl RefUnwindSafe for SearchQuery
impl Send for SearchQuery
impl Sync for SearchQuery
impl Unpin for SearchQuery
impl UnsafeUnpin for SearchQuery
impl UnwindSafe for SearchQuery
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.