[][src]Struct rarbg_api::torrent::Torrent

pub struct Torrent { /* fields omitted */ }

Implementations

impl Torrent[src]

pub fn title(&self) -> &Option<String>[src]

pub fn filename(&self) -> &Option<String>[src]

pub fn download(&self) -> &String[src]

pub fn seeders(&self) -> &Option<i64>[src]

pub fn leechers(&self) -> &Option<i64>[src]

pub fn size(&self) -> &Option<i64>[src]

pub fn ranked(&self) -> &Option<i64>[src]

pub fn info_page(&self) -> &Option<String>[src]

pub fn export(&self, path: &str) -> Result<String, Error>[src]

Trait Implementations

impl Clone for Torrent[src]

impl Debug for Torrent[src]

impl<'de> Deserialize<'de> for Torrent[src]

impl Display for Torrent[src]

impl Serialize for Torrent[src]

Auto Trait Implementations

impl RefUnwindSafe for Torrent

impl Send for Torrent

impl Sync for Torrent

impl Unpin for Torrent

impl UnwindSafe for Torrent

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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> ToString for T where
    T: Display + ?Sized
[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>,