pub struct Torrent { /* private fields */ }Implementations§
Source§impl Torrent
Auto-generated by derive_getters::Getters.
impl Torrent
Auto-generated by derive_getters::Getters.
Sourcepub fn amount_left(&self) -> &u64
pub fn amount_left(&self) -> &u64
Get field amount_left from instance of Torrent.
Sourcepub fn completion_on(&self) -> &i32
pub fn completion_on(&self) -> &i32
Get field completion_on from instance of Torrent.
Sourcepub fn downloaded(&self) -> &i64
pub fn downloaded(&self) -> &i64
Get field downloaded from instance of Torrent.
Sourcepub fn downloaded_session(&self) -> &i64
pub fn downloaded_session(&self) -> &i64
Get field downloaded_session from instance of Torrent.
Sourcepub fn f_l_piece_prio(&self) -> &Option<bool>
pub fn f_l_piece_prio(&self) -> &Option<bool>
Get field f_l_piece_prio from instance of Torrent.
Sourcepub fn force_start(&self) -> &bool
pub fn force_start(&self) -> &bool
Get field force_start from instance of Torrent.
Sourcepub fn last_activity(&self) -> &i64
pub fn last_activity(&self) -> &i64
Get field last_activity from instance of Torrent.
Sourcepub fn magnet_uri(&self) -> &String
pub fn magnet_uri(&self) -> &String
Get field magnet_uri from instance of Torrent.
Sourcepub fn max_seeding_time(&self) -> &i64
pub fn max_seeding_time(&self) -> &i64
Get field max_seeding_time from instance of Torrent.
Sourcepub fn num_complete(&self) -> &i64
pub fn num_complete(&self) -> &i64
Get field num_complete from instance of Torrent.
Sourcepub fn num_incomplete(&self) -> &i64
pub fn num_incomplete(&self) -> &i64
Get field num_incomplete from instance of Torrent.
Sourcepub fn num_leechs(&self) -> &i64
pub fn num_leechs(&self) -> &i64
Get field num_leechs from instance of Torrent.
Sourcepub fn ratio_limit(&self) -> &f64
pub fn ratio_limit(&self) -> &f64
Get field ratio_limit from instance of Torrent.
Sourcepub fn seeding_time_limit(&self) -> &i64
pub fn seeding_time_limit(&self) -> &i64
Get field seeding_time_limit from instance of Torrent.
Sourcepub fn seen_complete(&self) -> &i64
pub fn seen_complete(&self) -> &i64
Get field seen_complete from instance of Torrent.
Sourcepub fn super_seeding(&self) -> &bool
pub fn super_seeding(&self) -> &bool
Get field super_seeding from instance of Torrent.
Get field tags from instance of Torrent.
Sourcepub fn time_active(&self) -> &i64
pub fn time_active(&self) -> &i64
Get field time_active from instance of Torrent.
Sourcepub fn total_size(&self) -> &i64
pub fn total_size(&self) -> &i64
Get field total_size from instance of Torrent.
Sourcepub fn uploaded_session(&self) -> &i64
pub fn uploaded_session(&self) -> &i64
Get field uploaded_session from instance of Torrent.