Struct qbit_api_rs::types::SyncTorrentPeer
source · pub struct SyncTorrentPeer {Show 16 fields
pub client: String,
pub connection: String,
pub country: String,
pub country_code: String,
pub dl_speed: u64,
pub downloaded: u64,
pub files: String,
pub flags: String,
pub flags_desc: String,
pub ip: String,
pub peer_id_client: String,
pub port: u16,
pub progress: f64,
pub relevance: f64,
pub up_speed: u64,
pub uploaded: u64,
}
Expand description
Fields§
§client: String
§connection: String
§country: String
§country_code: String
§dl_speed: u64
§downloaded: u64
§files: String
§flags: String
§flags_desc: String
§ip: String
§peer_id_client: String
§port: u16
§progress: f64
§relevance: f64
§up_speed: u64
§uploaded: u64
Trait Implementations§
source§impl Debug for SyncTorrentPeer
impl Debug for SyncTorrentPeer
source§impl<'de> Deserialize<'de> for SyncTorrentPeer
impl<'de> Deserialize<'de> for SyncTorrentPeer
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
source§impl PartialEq<SyncTorrentPeer> for SyncTorrentPeer
impl PartialEq<SyncTorrentPeer> for SyncTorrentPeer
source§fn eq(&self, other: &SyncTorrentPeer) -> bool
fn eq(&self, other: &SyncTorrentPeer) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SyncTorrentPeer
Auto Trait Implementations§
impl RefUnwindSafe for SyncTorrentPeer
impl Send for SyncTorrentPeer
impl Sync for SyncTorrentPeer
impl Unpin for SyncTorrentPeer
impl UnwindSafe for SyncTorrentPeer
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