[][src]Struct qbittorrent::data::TorrentInfo

pub struct TorrentInfo<'a> { /* fields omitted */ }

Methods

impl<'a> TorrentInfo<'a>[src]

pub fn hash(&'a self) -> &'a Hash[src]

pub fn name(&self) -> &String[src]

pub fn size(&self) -> &i64[src]

pub fn progress(&self) -> &f64[src]

pub fn priority(&self) -> &i16[src]

pub fn is_seed(&self) -> &Option<bool>[src]

pub fn piece_range(&self) -> &Vec<i64>[src]

pub fn availability(&self) -> &f64[src]

Trait Implementations

impl<'a> Debug for TorrentInfo<'a>[src]

impl<'a> Serialize for TorrentInfo<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for TorrentInfo<'a>

impl<'a> Send for TorrentInfo<'a>

impl<'a> Sync for TorrentInfo<'a>

impl<'a> Unpin for TorrentInfo<'a>

impl<'a> UnwindSafe for TorrentInfo<'a>

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> 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.