pub struct BitTorrentDetail {
pub verified: Option<bool>,
pub id_matches_ip: Option<bool>,
pub first_seen: Option<String>,
pub last_seen: Option<String>,
pub last_reachable: Option<String>,
pub days_seen: Option<i32>,
pub num_ports: Option<i32>,
pub peak_num_ports: Option<i32>,
pub indexer: Option<bool>,
pub clients: Option<Vec<String>>,
}Fields§
§verified: Option<bool>A client here answered, or two or more reported it at once.
id_matches_ip: Option<bool>A client here derived its node ID from the address (BEP 42).
first_seen: Option<String>The first day a client was seen here.
last_seen: Option<String>The last day.
last_reachable: Option<String>The last day one answered, empty when none did.
days_seen: Option<i32>On how many days.
num_ports: Option<i32>Distinct ports over the window.
peak_num_ports: Option<i32>The most on one day.
indexer: Option<bool>A DHT indexer rather than people.
clients: Option<Vec<String>>The two-letter codes its clients name themselves by.
Implementations§
Source§impl BitTorrentDetail
impl BitTorrentDetail
pub fn new() -> BitTorrentDetail
Trait Implementations§
Source§impl Clone for BitTorrentDetail
impl Clone for BitTorrentDetail
Source§impl Debug for BitTorrentDetail
impl Debug for BitTorrentDetail
Source§impl Default for BitTorrentDetail
impl Default for BitTorrentDetail
Source§impl<'de> Deserialize<'de> for BitTorrentDetail
impl<'de> Deserialize<'de> for BitTorrentDetail
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 BitTorrentDetail
impl PartialEq for BitTorrentDetail
Source§impl Serialize for BitTorrentDetail
impl Serialize for BitTorrentDetail
impl StructuralPartialEq for BitTorrentDetail
Auto Trait Implementations§
impl Forget for BitTorrentDetail
impl Freeze for BitTorrentDetail
impl Move for BitTorrentDetail
impl RefUnwindSafe for BitTorrentDetail
impl Send for BitTorrentDetail
impl Sync for BitTorrentDetail
impl Unpin for BitTorrentDetail
impl UnsafeUnpin for BitTorrentDetail
impl UnwindSafe for BitTorrentDetail
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