pub struct TorrentProperties { /* private fields */ }
Implementations§
Source§impl TorrentProperties
Auto-generated by derive_getters::Getters
.
impl TorrentProperties
Auto-generated by derive_getters::Getters
.
Sourcepub fn creation_date(&self) -> &u32
pub fn creation_date(&self) -> &u32
Get field creation_date
from instance of TorrentProperties
.
Sourcepub fn piece_size(&self) -> &i64
pub fn piece_size(&self) -> &i64
Get field piece_size
from instance of TorrentProperties
.
Sourcepub fn total_wasted(&self) -> &i64
pub fn total_wasted(&self) -> &i64
Get field total_wasted
from instance of TorrentProperties
.
Sourcepub fn total_uploaded(&self) -> &i64
pub fn total_uploaded(&self) -> &i64
Get field total_uploaded
from instance of TorrentProperties
.
Sourcepub fn total_uploaded_session(&self) -> &i64
pub fn total_uploaded_session(&self) -> &i64
Get field total_uploaded_session
from instance of TorrentProperties
.
Sourcepub fn total_downloaded(&self) -> &i64
pub fn total_downloaded(&self) -> &i64
Get field total_downloaded
from instance of TorrentProperties
.
Sourcepub fn total_downloaded_session(&self) -> &i64
pub fn total_downloaded_session(&self) -> &i64
Get field total_downloaded_session
from instance of TorrentProperties
.
Sourcepub fn time_elapsed(&self) -> &i64
pub fn time_elapsed(&self) -> &i64
Get field time_elapsed
from instance of TorrentProperties
.
Sourcepub fn seeding_time(&self) -> &i64
pub fn seeding_time(&self) -> &i64
Get field seeding_time
from instance of TorrentProperties
.
Sourcepub fn nb_connections(&self) -> &i64
pub fn nb_connections(&self) -> &i64
Get field nb_connections
from instance of TorrentProperties
.
Sourcepub fn nb_connections_limit(&self) -> &i64
pub fn nb_connections_limit(&self) -> &i64
Get field nb_connections_limit
from instance of TorrentProperties
.
Get field share_ratio
from instance of TorrentProperties
.
Sourcepub fn addition_date(&self) -> &i64
pub fn addition_date(&self) -> &i64
Get field addition_date
from instance of TorrentProperties
.
Sourcepub fn completion_date(&self) -> &i64
pub fn completion_date(&self) -> &i64
Get field completion_date
from instance of TorrentProperties
.
Sourcepub fn created_by(&self) -> &String
pub fn created_by(&self) -> &String
Get field created_by
from instance of TorrentProperties
.
Sourcepub fn dl_speed_avg(&self) -> &i64
pub fn dl_speed_avg(&self) -> &i64
Get field dl_speed_avg
from instance of TorrentProperties
.
Sourcepub fn peers_total(&self) -> &i64
pub fn peers_total(&self) -> &i64
Get field peers_total
from instance of TorrentProperties
.
Sourcepub fn pieces_have(&self) -> &u64
pub fn pieces_have(&self) -> &u64
Get field pieces_have
from instance of TorrentProperties
.
Sourcepub fn pieces_num(&self) -> &i64
pub fn pieces_num(&self) -> &i64
Get field pieces_num
from instance of TorrentProperties
.
Sourcepub fn reannounce(&self) -> &i64
pub fn reannounce(&self) -> &i64
Get field reannounce
from instance of TorrentProperties
.
Sourcepub fn seeds_total(&self) -> &i64
pub fn seeds_total(&self) -> &i64
Get field seeds_total
from instance of TorrentProperties
.
Sourcepub fn total_size(&self) -> &u64
pub fn total_size(&self) -> &u64
Get field total_size
from instance of TorrentProperties
.
Sourcepub fn up_speed_avg(&self) -> &i64
pub fn up_speed_avg(&self) -> &i64
Get field up_speed_avg
from instance of TorrentProperties
.
Trait Implementations§
Source§impl Clone for TorrentProperties
impl Clone for TorrentProperties
Source§fn clone(&self) -> TorrentProperties
fn clone(&self) -> TorrentProperties
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more