pub struct Status {Show 17 fields
pub bitfield: String,
pub bittorrent: Option<Bittorrent>,
pub completed_length: String,
pub connections: String,
pub dir: String,
pub download_speed: String,
pub files: Vec<File>,
pub gid: String,
pub info_hash: Option<String>,
pub num_pieces: String,
pub num_seeders: Option<String>,
pub piece_length: String,
pub seeder: Option<String>,
pub status: String,
pub total_length: String,
pub upload_length: String,
pub upload_speed: String,
}
Fields§
§bitfield: String
§bittorrent: Option<Bittorrent>
§completed_length: String
§connections: String
§dir: String
§download_speed: String
§files: Vec<File>
§gid: String
§info_hash: Option<String>
§num_pieces: String
§num_seeders: Option<String>
§piece_length: String
§seeder: Option<String>
§status: String
§total_length: String
§upload_length: String
§upload_speed: String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Status
impl<'de> Deserialize<'de> for Status
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more