Struct synapse_rpc::resource::Torrent [] [src]

pub struct Torrent {
    pub id: String,
    pub name: Option<String>,
    pub path: String,
    pub created: DateTime<Utc>,
    pub modified: DateTime<Utc>,
    pub status: Status,
    pub error: Option<String>,
    pub priority: u8,
    pub progress: f32,
    pub availability: f32,
    pub sequential: bool,
    pub rate_up: u64,
    pub rate_down: u64,
    pub throttle_up: Option<i64>,
    pub throttle_down: Option<i64>,
    pub transferred_up: u64,
    pub transferred_down: u64,
    pub peers: u16,
    pub trackers: u8,
    pub size: Option<u64>,
    pub pieces: Option<u64>,
    pub piece_size: Option<u32>,
    pub files: Option<u32>,
    pub user_data: Value,
}

Fields

Trait Implementations

impl Clone for Torrent
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Torrent
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Torrent
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Queryable for Torrent
[src]

[src]

impl Default for Torrent
[src]

[src]

Returns the "default value" for a type. Read more