pub struct SearchQuery<'a> { /* private fields */ }Implementations§
Source§impl<'a> SearchQuery<'a>
impl<'a> SearchQuery<'a>
pub fn new() -> SearchQuery<'a>
Sourcepub fn with_title<'b>(&'b mut self, title: &'a str) -> &'b mut SearchQuery<'a>
pub fn with_title<'b>(&'b mut self, title: &'a str) -> &'b mut SearchQuery<'a>
The name of the movie. It is not necessary to specify it explicitly, you can use a variant written by the user or a variant containing extra words. If you specify one of these parameters, the search will be performed on several fields at once: title, title_orig, other_title
Sourcepub fn with_title_orig<'b>(
&'b mut self,
title_orig: &'a str,
) -> &'b mut SearchQuery<'a>
pub fn with_title_orig<'b>( &'b mut self, title_orig: &'a str, ) -> &'b mut SearchQuery<'a>
Original title. When this option is used, only the title_orig will be searched. It is not necessary to specify it explicitly, you can use a variant written by the user or a variant containing extra words
Sourcepub fn with_strict<'b>(&'b mut self, strict: bool) -> &'b mut SearchQuery<'a>
pub fn with_strict<'b>(&'b mut self, strict: bool) -> &'b mut SearchQuery<'a>
If title or title_orig parameter was specified, this parameter defines the severity of checking if the title of the material corresponds to the search query. If true, the search results will show only those materials in which the word order is exactly the same as in the search query (but extra words in the search query are still allowed)
Sourcepub fn with_full_match<'b>(
&'b mut self,
full_match: bool,
) -> &'b mut SearchQuery<'a>
pub fn with_full_match<'b>( &'b mut self, full_match: bool, ) -> &'b mut SearchQuery<'a>
If title or title_orig parameter was specified, this parameter defines the severity of checking if the title of the material corresponds to the search query. If true, the search results will only show content where the title completely matches the search query (no extra words, word order and presence of characters are also completely identical). The only thing the title may differ from the query is the case. When used in conjunction with the title, full consistency with at least one of the titles of the material is checked
Sourcepub fn with_id<'b>(&'b mut self, id: &'a str) -> &'b mut SearchQuery<'a>
pub fn with_id<'b>(&'b mut self, id: &'a str) -> &'b mut SearchQuery<'a>
Search by Kodik ID
Sourcepub fn with_player_link<'b>(
&'b mut self,
player_link: &'a str,
) -> &'b mut SearchQuery<'a>
pub fn with_player_link<'b>( &'b mut self, player_link: &'a str, ) -> &'b mut SearchQuery<'a>
Search for any link to the player
Sourcepub fn with_kinopoisk_id<'b>(
&'b mut self,
kinopoisk_id: &'a str,
) -> &'b mut SearchQuery<'a>
pub fn with_kinopoisk_id<'b>( &'b mut self, kinopoisk_id: &'a str, ) -> &'b mut SearchQuery<'a>
Search by kinopoisk ID
Sourcepub fn with_imdb_id<'b>(
&'b mut self,
imdb_id: &'a str,
) -> &'b mut SearchQuery<'a>
pub fn with_imdb_id<'b>( &'b mut self, imdb_id: &'a str, ) -> &'b mut SearchQuery<'a>
Search by IMDb ID
Sourcepub fn with_mdl_id<'b>(&'b mut self, mdl_id: &'a str) -> &'b mut SearchQuery<'a>
pub fn with_mdl_id<'b>(&'b mut self, mdl_id: &'a str) -> &'b mut SearchQuery<'a>
Search by MyDramaList ID
Sourcepub fn with_worldart_animation_id<'b>(
&'b mut self,
worldart_animation_id: &'a str,
) -> &'b mut SearchQuery<'a>
pub fn with_worldart_animation_id<'b>( &'b mut self, worldart_animation_id: &'a str, ) -> &'b mut SearchQuery<'a>
Search for World Art IDs in the anime section (World Art has different content sections, each with their own independent IDs)
Sourcepub fn with_worldart_cinema_id<'b>(
&'b mut self,
worldart_cinema_id: &'a str,
) -> &'b mut SearchQuery<'a>
pub fn with_worldart_cinema_id<'b>( &'b mut self, worldart_cinema_id: &'a str, ) -> &'b mut SearchQuery<'a>
Search for World Art IDs in the Movies section
Sourcepub fn with_worldart_link<'b>(
&'b mut self,
worldart_link: &'a str,
) -> &'b mut SearchQuery<'a>
pub fn with_worldart_link<'b>( &'b mut self, worldart_link: &'a str, ) -> &'b mut SearchQuery<'a>
Search the full World Art link
Sourcepub fn with_shikimori_id<'b>(
&'b mut self,
shikimori_id: &'a str,
) -> &'b mut SearchQuery<'a>
pub fn with_shikimori_id<'b>( &'b mut self, shikimori_id: &'a str, ) -> &'b mut SearchQuery<'a>
Search by Shikimori ID
Sourcepub fn with_limit<'b>(&'b mut self, limit: u32) -> &'b mut SearchQuery<'a>
pub fn with_limit<'b>(&'b mut self, limit: u32) -> &'b mut SearchQuery<'a>
Maximum number of outputs
Sourcepub fn with_types<'b>(
&'b mut self,
types: &'a [ReleaseType],
) -> &'b mut SearchQuery<'a>
pub fn with_types<'b>( &'b mut self, types: &'a [ReleaseType], ) -> &'b mut SearchQuery<'a>
Filtering materials by their type. For your convenience, a large number of types of films and TV series are available. Required types are specified separated by commas
Sourcepub fn with_year<'b>(&'b mut self, year: &'a [u32]) -> &'b mut SearchQuery<'a>
pub fn with_year<'b>(&'b mut self, year: &'a [u32]) -> &'b mut SearchQuery<'a>
Filter materials by year If you set this parameter, only materials of the corresponding year will be displayed
Sourcepub fn with_translation_id<'b>(
&'b mut self,
translation_id: &'a [u32],
) -> &'b mut SearchQuery<'a>
pub fn with_translation_id<'b>( &'b mut self, translation_id: &'a [u32], ) -> &'b mut SearchQuery<'a>
Filtering materials by translation ID
Sourcepub fn with_translation_type<'b>(
&'b mut self,
translation_type: &'a [TranslationType],
) -> &'b mut SearchQuery<'a>
pub fn with_translation_type<'b>( &'b mut self, translation_type: &'a [TranslationType], ) -> &'b mut SearchQuery<'a>
Filter content by translation type. Allows you to output only voice translation or only subtitles
Sourcepub fn with_has_field<'b>(
&'b mut self,
has_field: &'a [MaterialDataField],
) -> &'b mut SearchQuery<'a>
pub fn with_has_field<'b>( &'b mut self, has_field: &'a [MaterialDataField], ) -> &'b mut SearchQuery<'a>
Filtering materials based on the presence of a specific field. Materials that have at least one of the listed fields are shown. In order to show only materials that have all the listed fields
Sourcepub fn with_has_field_and<'b>(
&'b mut self,
has_field: &'a [MaterialDataField],
) -> &'b mut SearchQuery<'a>
pub fn with_has_field_and<'b>( &'b mut self, has_field: &'a [MaterialDataField], ) -> &'b mut SearchQuery<'a>
Filtering materials based on the presence of a specific field. Materials that have all the listed fields are shown
Sourcepub fn with_prioritize_translations<'b>(
&'b mut self,
prioritize_translations: &'a [&'a str],
) -> &'b mut SearchQuery<'a>
pub fn with_prioritize_translations<'b>( &'b mut self, prioritize_translations: &'a [&'a str], ) -> &'b mut SearchQuery<'a>
Increases the priority of certain voices. The IDs are listed in commas. The “leftmost” ID, the higher its priority. IDs of all voices can be received through API resource /translations or on the page of list of voices. Standard priority of dubbed and prof. Multivoiced“. To deactivate standard priority you need to pass value 0. You can also specify the translation type (subtitles/voice) instead of the ID
Sourcepub fn with_unprioritize_translations<'b>(
&'b mut self,
unprioritize_translations: &'a [&'a str],
) -> &'b mut SearchQuery<'a>
pub fn with_unprioritize_translations<'b>( &'b mut self, unprioritize_translations: &'a [&'a str], ) -> &'b mut SearchQuery<'a>
Decreases the priority of certain voices. The IDs are listed in commas. The “leftmost” ID, the lower its priority. IDs of all voices can be received through API resource /translations or on page of voices list. Standard priority of soundtracks “Ukrainian”, “English” and all subtitles are lowered. To deactivate standard priority you need to pass value 0. You can also specify the translation type (subtitles/voice) instead of the ID
Sourcepub fn with_prioritize_translation_type<'b>(
&'b mut self,
prioritize_translation_type: &'a [TranslationType],
) -> &'b mut SearchQuery<'a>
pub fn with_prioritize_translation_type<'b>( &'b mut self, prioritize_translation_type: &'a [TranslationType], ) -> &'b mut SearchQuery<'a>
Increases the priority of a certain type of translation. If you specify voice, voiceovers will be output first. If subtitles, subtitles will be output
Sourcepub fn with_block_translations<'b>(
&'b mut self,
block_translations: &'a [u32],
) -> &'b mut SearchQuery<'a>
pub fn with_block_translations<'b>( &'b mut self, block_translations: &'a [u32], ) -> &'b mut SearchQuery<'a>
Deletes certain voices from the search results. IDs are listed separated by commas
Sourcepub fn with_camrip<'b>(&'b mut self, camrip: bool) -> &'b mut SearchQuery<'a>
pub fn with_camrip<'b>(&'b mut self, camrip: bool) -> &'b mut SearchQuery<'a>
Filtering materials by camrip parameter. If you specify false, only materials with a quality picture will be output. If you don’t specify this parameter, all materials will be displayed
Sourcepub fn with_lgbt<'b>(&'b mut self, lgbt: bool) -> &'b mut SearchQuery<'a>
pub fn with_lgbt<'b>(&'b mut self, lgbt: bool) -> &'b mut SearchQuery<'a>
Filters materials by the lgbt parameter. If you specify false, only materials that do not contain LGBT scenes will be output. If you don’t specify this parameter, all materials will be displayed
Sourcepub fn with_seasons<'b>(
&'b mut self,
with_seasons: bool,
) -> &'b mut SearchQuery<'a>
pub fn with_seasons<'b>( &'b mut self, with_seasons: bool, ) -> &'b mut SearchQuery<'a>
If you specify true, the seasons of the series will also be listed in the seasons field. This and the following parameter are made to avoid overloading the output with a huge amount of information about seasons and episodes, if this information is not needed for parsing
Sourcepub fn with_season<'b>(
&'b mut self,
season: &'a [u32],
) -> &'b mut SearchQuery<'a>
pub fn with_season<'b>( &'b mut self, season: &'a [u32], ) -> &'b mut SearchQuery<'a>
With this option you can specify which season you are interested in. This way, only shows that have that season will appear in the search results. Passing this parameter also automatically enables the with_seasons parameter
Sourcepub fn with_episodes<'b>(
&'b mut self,
with_episodes: bool,
) -> &'b mut SearchQuery<'a>
pub fn with_episodes<'b>( &'b mut self, with_episodes: bool, ) -> &'b mut SearchQuery<'a>
If you specify true, the seasons field will be added to each series (even if with_seasons is not specified or specified as false) and the episodes field with the episodes of that season will be added to each season. If the with_episodes parameter is used, the series numbers will correspond to the normal series references. If you use the with_episodes_data parameter, episode objects will be assigned to the episode numbers, where the link will be available via the link parameter, the episode name (if any) via the title parameter, and the frames via screenshots
Sourcepub fn with_episodes_data<'b>(
&'b mut self,
with_episodes_data: bool,
) -> &'b mut SearchQuery<'a>
pub fn with_episodes_data<'b>( &'b mut self, with_episodes_data: bool, ) -> &'b mut SearchQuery<'a>
If you specify true, the seasons field will be added to each series (even if with_seasons is not specified or specified as false) and the episodes field with the episodes of that season will be added to each season. If the with_episodes parameter is used, the series numbers will correspond to the normal series references. If you use the with_episodes_data parameter, episode objects will be assigned to the episode numbers, where the link will be available via the link parameter, the episode name (if any) via the title parameter, and the frames via screenshots
Sourcepub fn with_episode<'b>(
&'b mut self,
episode: &'a [u32],
) -> &'b mut SearchQuery<'a>
pub fn with_episode<'b>( &'b mut self, episode: &'a [u32], ) -> &'b mut SearchQuery<'a>
With this option, you can specify which episode of a particular season you are interested in. Thus, only shows with that episode will appear in the search results. If you use this parameter, you must also pass the season parameter. Passing this parameter also automatically includes the with_episodes parameter
Sourcepub fn with_page_links<'b>(
&'b mut self,
with_page_links: bool,
) -> &'b mut SearchQuery<'a>
pub fn with_page_links<'b>( &'b mut self, with_page_links: bool, ) -> &'b mut SearchQuery<'a>
If you specify true, all links to players will be replaced by special links to pages with players (suitable for cases when you don’t have your own site). You can customize appearance of these pages in settings in the base. If parameter with_seasons or with_episodes / with_episodes_data is specified together with this parameter, links in seasons and episodes will also be replaced
Sourcepub fn with_not_blocked_in<'b>(
&'b mut self,
not_blocked_in: &'a [&'a str],
) -> &'b mut SearchQuery<'a>
pub fn with_not_blocked_in<'b>( &'b mut self, not_blocked_in: &'a [&'a str], ) -> &'b mut SearchQuery<'a>
Filters materials by country in which they should not be blocked. The country codes are specified separated by commas
Sourcepub fn with_not_blocked_for_me<'b>(
&'b mut self,
not_blocked_for_me: &'a [&'a str],
) -> &'b mut SearchQuery<'a>
pub fn with_not_blocked_for_me<'b>( &'b mut self, not_blocked_for_me: &'a [&'a str], ) -> &'b mut SearchQuery<'a>
A simpler analog of the previous parameter. Our server itself checks which country the current request comes from and doesn’t display those materials that are blocked for that country. This parameter can be useful if the API is called on your site
Sourcepub fn with_material_data<'b>(
&'b mut self,
with_material_data: bool,
) -> &'b mut SearchQuery<'a>
pub fn with_material_data<'b>( &'b mut self, with_material_data: bool, ) -> &'b mut SearchQuery<'a>
If you specify true, the material_data field will be added to each movie/series with information from Kinopoisk and Shikimori
Sourcepub fn with_countries<'b>(
&'b mut self,
countries: &'a [&'a str],
) -> &'b mut SearchQuery<'a>
pub fn with_countries<'b>( &'b mut self, countries: &'a [&'a str], ) -> &'b mut SearchQuery<'a>
Filtering materials by country. You can specify a single value or multiple values, separated by commas (then materials with at least one of the listed countries will be displayed). The parameter is case sensitive
Sourcepub fn with_genres<'b>(
&'b mut self,
genres: &'a [&'a str],
) -> &'b mut SearchQuery<'a>
pub fn with_genres<'b>( &'b mut self, genres: &'a [&'a str], ) -> &'b mut SearchQuery<'a>
Filtering by genre. You can specify either one value or several values separated by commas (then materials that have at least one of the specified genres will be displayed). You can search by Kinopoisk, Shikimori, MyDramaList or by all genres at once. The parameter is not case sensitive
Sourcepub fn with_anime_genres<'b>(
&'b mut self,
anime_genres: &'a [&'a str],
) -> &'b mut SearchQuery<'a>
pub fn with_anime_genres<'b>( &'b mut self, anime_genres: &'a [&'a str], ) -> &'b mut SearchQuery<'a>
Filtering by genre. You can specify either one value or several values separated by commas (then materials that have at least one of the specified genres will be displayed). You can search by Kinopoisk, Shikimori, MyDramaList or by all genres at once. The parameter is not case sensitive
Sourcepub fn with_drama_genres<'b>(
&'b mut self,
drama_genres: &'a [&'a str],
) -> &'b mut SearchQuery<'a>
pub fn with_drama_genres<'b>( &'b mut self, drama_genres: &'a [&'a str], ) -> &'b mut SearchQuery<'a>
Filtering by genre. You can specify either one value or several values separated by commas (then materials that have at least one of the specified genres will be displayed). You can search by Kinopoisk, Shikimori, MyDramaList or by all genres at once. The parameter is not case sensitive
Sourcepub fn with_all_genres<'b>(
&'b mut self,
all_genres: &'a [&'a str],
) -> &'b mut SearchQuery<'a>
pub fn with_all_genres<'b>( &'b mut self, all_genres: &'a [&'a str], ) -> &'b mut SearchQuery<'a>
Filtering by genre. You can specify either one value or several values separated by commas (then materials that have at least one of the specified genres will be displayed). You can search by Kinopoisk, Shikimori, MyDramaList or by all genres at once. The parameter is not case sensitive
Sourcepub fn with_duration<'b>(
&'b mut self,
duration: &'a [&'a str],
) -> &'b mut SearchQuery<'a>
pub fn with_duration<'b>( &'b mut self, duration: &'a [&'a str], ) -> &'b mut SearchQuery<'a>
Filtering by duration (in minutes). You can specify either a single value to search for the exact duration, or an interval.
Sourcepub fn with_kinopoisk_rating<'b>(
&'b mut self,
kinopoisk_rating: &'a [&'a str],
) -> &'b mut SearchQuery<'a>
pub fn with_kinopoisk_rating<'b>( &'b mut self, kinopoisk_rating: &'a [&'a str], ) -> &'b mut SearchQuery<'a>
Filtering by Kinopoisk, IMDb, Shikimori, or MyDramaList ratings. You can specify either a single value to search for the exact rating, or an interval
Sourcepub fn with_imdb_rating<'b>(
&'b mut self,
imdb_rating: &'a [&'a str],
) -> &'b mut SearchQuery<'a>
pub fn with_imdb_rating<'b>( &'b mut self, imdb_rating: &'a [&'a str], ) -> &'b mut SearchQuery<'a>
Filtering by Kinopoisk, IMDb, Shikimori, or MyDramaList ratings. You can specify either a single value to search for the exact rating, or an interval
Sourcepub fn with_shikimori_rating<'b>(
&'b mut self,
shikimori_rating: &'a [&'a str],
) -> &'b mut SearchQuery<'a>
pub fn with_shikimori_rating<'b>( &'b mut self, shikimori_rating: &'a [&'a str], ) -> &'b mut SearchQuery<'a>
Filtering by Kinopoisk, IMDb, Shikimori, or MyDramaList ratings. You can specify either a single value to search for the exact rating, or an interval
Sourcepub fn with_mydramalist_rating<'b>(
&'b mut self,
mydramalist_rating: &'a [&'a str],
) -> &'b mut SearchQuery<'a>
pub fn with_mydramalist_rating<'b>( &'b mut self, mydramalist_rating: &'a [&'a str], ) -> &'b mut SearchQuery<'a>
Filtering by Kinopoisk, IMDb, Shikimori, or MyDramaList ratings. You can specify either a single value to search for the exact rating, or an interval
Sourcepub fn with_actors<'b>(
&'b mut self,
actors: &'a [&'a str],
) -> &'b mut SearchQuery<'a>
pub fn with_actors<'b>( &'b mut self, actors: &'a [&'a str], ) -> &'b mut SearchQuery<'a>
Filtering materials by personas. You can specify a single value or multiple values, separated by commas (then materials that have at least one of the specified personas will be displayed). This parameter is case-independent. You can specify filters for several professions at once
Sourcepub fn with_directors<'b>(
&'b mut self,
directors: &'a [&'a str],
) -> &'b mut SearchQuery<'a>
pub fn with_directors<'b>( &'b mut self, directors: &'a [&'a str], ) -> &'b mut SearchQuery<'a>
Filtering materials by personas. You can specify a single value or multiple values, separated by commas (then materials that have at least one of the specified personas will be displayed). This parameter is case-independent. You can specify filters for several professions at once
Sourcepub fn with_producers<'b>(
&'b mut self,
producers: &'a [&'a str],
) -> &'b mut SearchQuery<'a>
pub fn with_producers<'b>( &'b mut self, producers: &'a [&'a str], ) -> &'b mut SearchQuery<'a>
Filtering materials by personas. You can specify a single value or multiple values, separated by commas (then materials that have at least one of the specified personas will be displayed). This parameter is case-independent. You can specify filters for several professions at once
Sourcepub fn with_writers<'b>(
&'b mut self,
writers: &'a [&'a str],
) -> &'b mut SearchQuery<'a>
pub fn with_writers<'b>( &'b mut self, writers: &'a [&'a str], ) -> &'b mut SearchQuery<'a>
Filtering materials by personas. You can specify a single value or multiple values, separated by commas (then materials that have at least one of the specified personas will be displayed). This parameter is case-independent. You can specify filters for several professions at once
Sourcepub fn with_composers<'b>(
&'b mut self,
composers: &'a [&'a str],
) -> &'b mut SearchQuery<'a>
pub fn with_composers<'b>( &'b mut self, composers: &'a [&'a str], ) -> &'b mut SearchQuery<'a>
Filtering materials by personas. You can specify a single value or multiple values, separated by commas (then materials that have at least one of the specified personas will be displayed). This parameter is case-independent. You can specify filters for several professions at once
Sourcepub fn with_editors<'b>(
&'b mut self,
editors: &'a [&'a str],
) -> &'b mut SearchQuery<'a>
pub fn with_editors<'b>( &'b mut self, editors: &'a [&'a str], ) -> &'b mut SearchQuery<'a>
Filtering materials by personas. You can specify a single value or multiple values, separated by commas (then materials that have at least one of the specified personas will be displayed). This parameter is case-independent. You can specify filters for several professions at once
Sourcepub fn with_designers<'b>(
&'b mut self,
designers: &'a [&'a str],
) -> &'b mut SearchQuery<'a>
pub fn with_designers<'b>( &'b mut self, designers: &'a [&'a str], ) -> &'b mut SearchQuery<'a>
Filtering materials by personas. You can specify a single value or multiple values, separated by commas (then materials that have at least one of the specified personas will be displayed). This parameter is case-independent. You can specify filters for several professions at once
Sourcepub fn with_operators<'b>(
&'b mut self,
operators: &'a [&'a str],
) -> &'b mut SearchQuery<'a>
pub fn with_operators<'b>( &'b mut self, operators: &'a [&'a str], ) -> &'b mut SearchQuery<'a>
Filtering materials by personas. You can specify a single value or multiple values, separated by commas (then materials that have at least one of the specified personas will be displayed). This parameter is case-independent. You can specify filters for several professions at once
Sourcepub fn with_rating_mpaa<'b>(
&'b mut self,
rating_mpaa: &'a [MppaRating],
) -> &'b mut SearchQuery<'a>
pub fn with_rating_mpaa<'b>( &'b mut self, rating_mpaa: &'a [MppaRating], ) -> &'b mut SearchQuery<'a>
Filtering materials by age rating. You can specify a single value or multiple values, separated by commas. The parameter is case-insensitive
Sourcepub fn with_minimal_age<'b>(
&'b mut self,
minimal_age: &'a [&'a str],
) -> &'b mut SearchQuery<'a>
pub fn with_minimal_age<'b>( &'b mut self, minimal_age: &'a [&'a str], ) -> &'b mut SearchQuery<'a>
Filter content by the minimum age from which it can be viewed. You can specify either a single value or a range of values
Sourcepub fn with_anime_kind<'b>(
&'b mut self,
anime_kind: &'a [AnimeKind],
) -> &'b mut SearchQuery<'a>
pub fn with_anime_kind<'b>( &'b mut self, anime_kind: &'a [AnimeKind], ) -> &'b mut SearchQuery<'a>
Filtering materials by anime type. You can specify one value or several values separated by commas (then materials with at least one of these types will be displayed)
Filters materials by MyDramaList tags. You can specify one value or several values separated by commas (then materials with at least one of these types will be displayed)
Sourcepub fn with_anime_status<'b>(
&'b mut self,
anime_status: &'a [AnimeStatus],
) -> &'b mut SearchQuery<'a>
pub fn with_anime_status<'b>( &'b mut self, anime_status: &'a [AnimeStatus], ) -> &'b mut SearchQuery<'a>
Filter materials by Shikimori status, MyDramaList, or by all statuses. You can specify a single value or several values separated by commas (then materials that have at least one of the listed statuses will be displayed)
Sourcepub fn with_drama_status<'b>(
&'b mut self,
drama_status: &'a [DramaStatus],
) -> &'b mut SearchQuery<'a>
pub fn with_drama_status<'b>( &'b mut self, drama_status: &'a [DramaStatus], ) -> &'b mut SearchQuery<'a>
Filter materials by Shikimori status, MyDramaList, or by all statuses. You can specify a single value or several values separated by commas (then materials that have at least one of the listed statuses will be displayed)
Sourcepub fn with_all_status<'b>(
&'b mut self,
all_status: &'a [AllStatus],
) -> &'b mut SearchQuery<'a>
pub fn with_all_status<'b>( &'b mut self, all_status: &'a [AllStatus], ) -> &'b mut SearchQuery<'a>
Filter materials by Shikimori status, MyDramaList, or by all statuses. You can specify a single value or several values separated by commas (then materials that have at least one of the listed statuses will be displayed)
Sourcepub fn with_anime_studios<'b>(
&'b mut self,
anime_studios: &'a [&'a str],
) -> &'b mut SearchQuery<'a>
pub fn with_anime_studios<'b>( &'b mut self, anime_studios: &'a [&'a str], ) -> &'b mut SearchQuery<'a>
Filtering materials by anime studio. You can specify either one value or several values separated by commas (then materials with at least one of the listed studios will be displayed)
Sourcepub fn with_anime_licensed_by<'b>(
&'b mut self,
anime_licensed_by: &'a [&'a str],
) -> &'b mut SearchQuery<'a>
pub fn with_anime_licensed_by<'b>( &'b mut self, anime_licensed_by: &'a [&'a str], ) -> &'b mut SearchQuery<'a>
Filtering materials by license owner. You can specify a single value or several values separated by commas (then materials that have at least one of the listed owners will be displayed)
Trait Implementations§
Source§impl<'a> Clone for SearchQuery<'a>
impl<'a> Clone for SearchQuery<'a>
Source§fn clone(&self) -> SearchQuery<'a>
fn clone(&self) -> SearchQuery<'a>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more