Struct torznab::Torrent[][src]

pub struct Torrent {
    pub name: String,
    pub size: u64,
    pub categories: Vec<u32>,
    pub link: String,
    pub seeders: Option<u16>,
    pub leechers: Option<u16>,
    pub minimum_ratio: Option<f32>,
    pub minimum_seedtime: Option<Duration>,
}

Fields

name: Stringsize: u64categories: Vec<u32>link: Stringseeders: Option<u16>leechers: Option<u16>minimum_ratio: Option<f32>minimum_seedtime: Option<Duration>

Trait Implementations

impl Clone for Torrent[src]

impl Debug for Torrent[src]

impl Default for Torrent[src]

impl TryFrom<Item> for Torrent[src]

type Error = Error

The type returned in the event of a conversion error.

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> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument 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.