Struct transmission_client::Torrent
source · pub struct Torrent {Show 55 fields
pub id: i32,
pub activity_date: i32,
pub added_date: i32,
pub bandwidth_priority: i32,
pub comment: String,
pub corrupt_ever: i64,
pub creator: String,
pub date_created: i32,
pub desired_available: i64,
pub done_date: i32,
pub download_dir: String,
pub download_limit: i32,
pub download_limited: bool,
pub downloaded_ever: i64,
pub edit_date: i32,
pub error: i32,
pub error_string: String,
pub eta: i64,
pub eta_idle: i64,
pub hash_string: String,
pub have_unchecked: i64,
pub have_valid: i64,
pub honors_session_limits: bool,
pub is_finished: bool,
pub is_private: bool,
pub is_stalled: bool,
pub left_until_done: i64,
pub magnet_link: String,
pub manual_announce_time: i32,
pub metadata_percent_complete: f32,
pub name: String,
pub percent_done: f32,
pub piece_count: i64,
pub piece_size: i64,
pub pieces: String,
pub primary_mime_type: String,
pub queue_position: i32,
pub rate_download: i32,
pub rate_upload: i32,
pub recheck_progress: f32,
pub seconds_downloading: i32,
pub seconds_seeding: i32,
pub seed_idle_limit: i32,
pub seed_idle_mode: i32,
pub seed_ratio_limit: f32,
pub seed_ratio_mode: i32,
pub size_when_done: i64,
pub start_date: i32,
pub status: i32,
pub torrent_file: String,
pub total_size: i64,
pub upload_limit: i32,
pub upload_limited: bool,
pub upload_ratio: f32,
pub uploaded_ever: i64,
}
Fields§
§id: i32
§activity_date: i32
§added_date: i32
§bandwidth_priority: i32
§comment: String
§corrupt_ever: i64
§creator: String
§date_created: i32
§desired_available: i64
§done_date: i32
§download_dir: String
§download_limit: i32
§download_limited: bool
§downloaded_ever: i64
§edit_date: i32
§error: i32
§error_string: String
§eta: i64
§eta_idle: i64
§hash_string: String
§have_unchecked: i64
§have_valid: i64
§honors_session_limits: bool
§is_finished: bool
§is_private: bool
§is_stalled: bool
§left_until_done: i64
§magnet_link: String
§manual_announce_time: i32
§metadata_percent_complete: f32
§name: String
§percent_done: f32
§piece_count: i64
§piece_size: i64
§pieces: String
§primary_mime_type: String
§queue_position: i32
§rate_download: i32
§rate_upload: i32
§recheck_progress: f32
§seconds_downloading: i32
§seconds_seeding: i32
§seed_idle_limit: i32
§seed_idle_mode: i32
§seed_ratio_limit: f32
§seed_ratio_mode: i32
§size_when_done: i64
§start_date: i32
§status: i32
§torrent_file: String
§total_size: i64
§upload_limit: i32
§upload_limited: bool
§upload_ratio: f32
§uploaded_ever: i64
Trait Implementations§
source§impl<'de> Deserialize<'de> for Torrent
impl<'de> Deserialize<'de> for Torrent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for Torrent
impl PartialEq for Torrent
impl StructuralPartialEq for Torrent
Auto Trait Implementations§
impl Freeze for Torrent
impl RefUnwindSafe for Torrent
impl Send for Torrent
impl Sync for Torrent
impl Unpin for Torrent
impl UnwindSafe for Torrent
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more