[−][src]Struct transmission::torrent::torrentinfo::TorrentInfo
Fields
total_size: u64
Total download size in bytes
original_name: String
Original name of the torrent
name: String
Name of the torrent
torrent: String
webseeds: Vec<String>
Webseeds of the torrent
comment: String
Comment on the torrent
creator: String
The torrent's creator
files: Vec<TorrentFile>
Files of the torrent
pieces: Vec<TorrentPiece>
Pieces of the torrent
This is skipped in Serialization due to it's size. If you want it serialized you will have to do it manually.
trackers: Vec<TrackerInfo>
Trackers of the torrent
date_created: NaiveDateTime
Date the torrent was created
tracker_count: u32
Number of trackers
webseed_count: u32
Number of webseeds
file_count: u32
Number of files
piece_size: u32
Sice of pieces in bytes
piece_count: u32
Number of pieces
hash: [u8; 20]
hash_string: String
String hash of the torrent
is_private: bool
is_folder: bool
Is it a torrent of a folder?
Trait Implementations
impl From<tr_info> for TorrentInfo
[src]
impl Debug for TorrentInfo
[src]
impl Serialize for TorrentInfo
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for TorrentInfo
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for TorrentInfo
impl Sync for TorrentInfo
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,