[][src]Struct transmission_rpc::types::Torrent

pub struct Torrent {
    pub added_date: Option<i64>,
    pub download_dir: Option<String>,
    pub error: Option<i64>,
    pub error_string: Option<String>,
    pub eta: Option<i64>,
    pub id: Option<i64>,
    pub is_finished: Option<bool>,
    pub is_stalled: Option<bool>,
    pub left_until_done: Option<i64>,
    pub metadata_percent_complete: Option<f32>,
    pub name: Option<String>,
    pub hash_string: Option<String>,
    pub peers_connected: Option<i64>,
    pub peers_getting_from_us: Option<i64>,
    pub peers_sending_to_us: Option<i64>,
    pub percent_done: Option<f32>,
    pub rate_download: Option<i64>,
    pub rate_upload: Option<i64>,
    pub recheck_progress: Option<f32>,
    pub seed_ratio_limit: Option<f32>,
    pub size_when_done: Option<i64>,
    pub status: Option<i64>,
    pub total_size: Option<i64>,
    pub trackers: Option<Vec<Trackers>>,
    pub upload_ratio: Option<f32>,
    pub uploaded_ever: Option<i64>,
}

Fields

added_date: Option<i64>download_dir: Option<String>error: Option<i64>error_string: Option<String>eta: Option<i64>id: Option<i64>is_finished: Option<bool>is_stalled: Option<bool>left_until_done: Option<i64>metadata_percent_complete: Option<f32>name: Option<String>hash_string: Option<String>peers_connected: Option<i64>peers_getting_from_us: Option<i64>peers_sending_to_us: Option<i64>percent_done: Option<f32>rate_download: Option<i64>rate_upload: Option<i64>recheck_progress: Option<f32>seed_ratio_limit: Option<f32>size_when_done: Option<i64>status: Option<i64>total_size: Option<i64>trackers: Option<Vec<Trackers>>upload_ratio: Option<f32>uploaded_ever: Option<i64>

Trait Implementations

impl Clone for Torrent[src]

impl Debug for Torrent[src]

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

impl Encodable 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> 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.