Struct transmission_client::TorrentPeers
source · pub struct TorrentPeers {
pub id: i32,
pub peer_limit: i32,
pub peers_connected: i32,
pub peers_getting_from_us: i32,
pub peers_sending_to_us: i32,
pub max_connected_peers: i32,
pub webseeds_sending_to_us: i32,
}
Fields§
§id: i32
§peer_limit: i32
§peers_connected: i32
§peers_getting_from_us: i32
§peers_sending_to_us: i32
§max_connected_peers: i32
§webseeds_sending_to_us: i32
Trait Implementations§
source§impl Clone for TorrentPeers
impl Clone for TorrentPeers
source§fn clone(&self) -> TorrentPeers
fn clone(&self) -> TorrentPeers
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TorrentPeers
impl Debug for TorrentPeers
source§impl Default for TorrentPeers
impl Default for TorrentPeers
source§fn default() -> TorrentPeers
fn default() -> TorrentPeers
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TorrentPeerswhere
TorrentPeers: Default,
impl<'de> Deserialize<'de> for TorrentPeerswhere
TorrentPeers: Default,
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 for TorrentPeers
impl PartialEq for TorrentPeers
source§fn eq(&self, other: &TorrentPeers) -> bool
fn eq(&self, other: &TorrentPeers) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TorrentPeers
Auto Trait Implementations§
impl Freeze for TorrentPeers
impl RefUnwindSafe for TorrentPeers
impl Send for TorrentPeers
impl Sync for TorrentPeers
impl Unpin for TorrentPeers
impl UnwindSafe for TorrentPeers
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