[][src]Struct rarbg_api::api_parameters::ApiParameters

pub struct ApiParameters { /* fields omitted */ }

Implementations

impl ApiParameters[src]

pub fn ranked(&self) -> &bool[src]

Return true if the request will show only the scene releases + rarbg releases + rartv releases, otherwise false, the request will show all releases.

pub fn limit(&self) -> &Limit[src]

Return the number of torrents that the request will return.

pub fn categories(&self) -> &Option<Vec<Category>>[src]

Return in which categories the request will operates.

pub fn sort_by(&self) -> &SortBy[src]

Return the sorting criteria.

pub fn minimum_seeders(&self) -> &Option<u32>[src]

Return the number of minimum seeders that a torrent will have.

pub fn minimum_leechers(&self) -> &Option<u32>[src]

Return the number of minimum leechers that a torrent will have.

pub fn format(&self) -> &Format[src]

Return the response format of the request.

Trait Implementations

impl Clone for ApiParameters[src]

impl Debug for ApiParameters[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,