pub fn build(&self) -> ApiParameters {
        ApiParameters {
            ranked: self.ranked,
            limit: self.limit,
            categories: self.categories.clone(),
            sort_by: self.sort_by,
            minimum_seeders: self.minimum_seeders,
            minimum_leechers: self.minimum_leechers,
            format: self.format,
        }
    }
/// Construct an immutable ApiParameters that can be use with RarBgApi.
///
/// # Example
/// ```
/// use rarbg_api::api_parameters_builder::ApiParametersBuilder;
/// use rarbg_api::api_parameters::ApiParameters;
/// use rarbg_api::limit::Limit;
/// use rarbg_api::sort_by::SortBy;
/// use rarbg_api::format::Format;
/// use rarbg_api::category::Category;
///
/// let ap :ApiParameters = ApiParametersBuilder::new()
///                          .ranked(false)
///                          .limit(Limit::OneHundred)
///                          .categories(vec![Category::TvHdEpisodes, Category::TvUhdEpisodes])
///                          .sort_by(SortBy::Seeders)
///                          .minimum_seeders(42)
///                          .minimum_leechers(42)
///                          .format(Format::JsonExtended)
///                          .build();
/// ```
Construct an immutable ApiParameters that can be use with RarBgApi.
Construct an immutable ApiParameters that can be use with RarBgApi .
pub fn build(&self) -> ApiParameters {
        ApiParameters {
            ranked: self.ranked,
            limit: self.limit,
            categories: self.categories.clone(),
            sort_by: self.sort_by,
            minimum_seeders: self.minimum_seeders,
            minimum_leechers: self.minimum_leechers,
            format: self.format,
        }
    }
pub fn build ( & self ) -> ApiParameters { ApiParameters { ranked : self . ranked , limit : self . limit , categories : self . categories . clone ( ) , sort_by : self . sort_by , minimum_seeders : self . minimum_seeders , minimum_leechers : self . minimum_leechers , format : self . format , } }
Construct an immutable ApiParameters that can be use with RarBgApi.
Construct an immutable ApiParameters that can be use with RarBgApi .
&self
example


let ap :ApiParameters = ApiParametersBuilder::new()
.ranked(false)
.limit(Limit::OneHundred)
.categories(vec![Category::TvHdEpisodes, Category::TvUhdEpisodes])
.sort_by(SortBy::Seeders)
.minimum_seeders(42)
.minimum_leechers(42)
.format(Format::JsonExtended)
.build();
```
let ap : ApiParameters = ApiParametersBuilder :: new () . ranked ( false ) . limit ( Limit :: OneHundred ) . categories ( vec! [ Category :: TvHdEpisodes Category :: TvUhdEpisodes ] ) . sort_by ( SortBy :: Seeders ) . minimum_seeders ( 42 ) . minimum_leechers ( 42 ) . format ( Format :: JsonExtended ) . build () ; ` ` `