[][src]Struct qbittorrent::data::TransferInfo

pub struct TransferInfo { /* fields omitted */ }

Transfer stats for a torrent

dl_info_speed integer Global download rate (bytes/s) dl_info_data integer Data downloaded this session (bytes) up_info_speed integer Global upload rate (bytes/s) up_info_data integer Data uploaded this session (bytes) dl_rate_limit integer Download rate limit (bytes/s) up_rate_limit integer Upload rate limit (bytes/s) dht_nodes integer DHT nodes connected to connection_status string Connection status. See possible values here below

Methods

impl TransferInfo[src]

pub fn dl_info_speed(&self) -> &u64[src]

pub fn dl_info_data(&self) -> &u64[src]

pub fn up_info_speed(&self) -> &u64[src]

pub fn up_info_data(&self) -> &u64[src]

pub fn dl_rate_limit(&self) -> &u64[src]

pub fn up_rate_limit(&self) -> &u64[src]

pub fn dht_nodes(&self) -> &u64[src]

pub fn connection_status(&self) -> &ConnectionStatus[src]

Trait Implementations

impl Debug for TransferInfo[src]

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

Auto Trait Implementations

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: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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.