[][src]Struct transmission_sys::tr_info

#[repr(C)]
pub struct tr_info { pub totalSize: u64, pub originalName: *mut c_char, pub name: *mut c_char, pub torrent: *mut c_char, pub webseeds: *mut *mut c_char, pub comment: *mut c_char, pub creator: *mut c_char, pub files: *mut tr_file, pub pieces: *mut tr_piece, pub trackers: *mut tr_tracker_info, pub dateCreated: time_t, pub trackerCount: c_uint, pub webseedCount: c_uint, pub fileCount: tr_file_index_t, pub pieceSize: u32, pub pieceCount: tr_piece_index_t, pub hash: [u8; 20], pub hashString: [c_char; 41], pub isPrivate: bool, pub isFolder: bool, }

@brief information about a torrent that comes from its metainfo file

Fields

totalSize: u64originalName: *mut c_charname: *mut c_chartorrent: *mut c_charwebseeds: *mut *mut c_charcomment: *mut c_charcreator: *mut c_charfiles: *mut tr_filepieces: *mut tr_piecetrackers: *mut tr_tracker_infodateCreated: time_ttrackerCount: c_uintwebseedCount: c_uintfileCount: tr_file_index_tpieceSize: u32pieceCount: tr_piece_index_thash: [u8; 20]hashString: [c_char; 41]isPrivate: boolisFolder: bool

Trait Implementations

impl Copy for tr_info[src]

impl Clone for tr_info[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl !Send for tr_info

impl !Sync for tr_info

Blanket Implementations

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]