[][src]Struct rarbg_api::RarBgApi

pub struct RarBgApi { /* fields omitted */ }

Implementations

impl RarBgApi[src]

pub fn app_id(&self) -> &str[src]

pub fn token(&self) -> &Token[src]

pub fn new(app_id: &str) -> Self[src]

pub fn list(
    &mut self,
    parameters: Option<&ApiParameters>
) -> Result<Torrents, Error>
[src]

pub fn search(
    &mut self,
    value: &str,
    parameters: Option<&ApiParameters>
) -> Result<Torrents, Error>
[src]

pub fn search_by_imdb(
    &mut self,
    value: &str,
    parameters: Option<&ApiParameters>
) -> Result<Torrents, Error>
[src]

pub fn search_by_tvdb(
    &mut self,
    value: &str,
    parameters: Option<&ApiParameters>
) -> Result<Torrents, Error>
[src]

pub fn search_by_tmdb(
    &mut self,
    value: &str,
    parameters: Option<&ApiParameters>
) -> Result<Torrents, Error>
[src]

Trait Implementations

impl Debug for RarBgApi[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, 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>,