pub struct ScrapeInfo {
pub complete: u32,
pub incomplete: u32,
pub downloaded: u32,
}Expand description
Scrape response data for a single info_hash (BEP 48).
Fields§
§complete: u32Number of seeders (peers with complete file).
incomplete: u32Number of leechers (peers still downloading).
downloaded: u32Number of times the torrent has been fully downloaded.
Trait Implementations§
Source§impl Clone for ScrapeInfo
impl Clone for ScrapeInfo
Source§fn clone(&self) -> ScrapeInfo
fn clone(&self) -> ScrapeInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ScrapeInfo
impl Debug for ScrapeInfo
Source§impl PartialEq for ScrapeInfo
impl PartialEq for ScrapeInfo
Source§fn eq(&self, other: &ScrapeInfo) -> bool
fn eq(&self, other: &ScrapeInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ScrapeInfo
impl Eq for ScrapeInfo
impl StructuralPartialEq for ScrapeInfo
Auto Trait Implementations§
impl Freeze for ScrapeInfo
impl RefUnwindSafe for ScrapeInfo
impl Send for ScrapeInfo
impl Sync for ScrapeInfo
impl Unpin for ScrapeInfo
impl UnsafeUnpin for ScrapeInfo
impl UnwindSafe for ScrapeInfo
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