pub struct UdpScrapeResponse {
pub results: Vec<ScrapeInfo>,
pub transaction_id: u32,
}Expand description
UDP scrape response.
Fields§
§results: Vec<ScrapeInfo>Per-torrent scrape statistics (same order as requested hashes).
transaction_id: u32Transaction ID echoed from the request.
Trait Implementations§
Source§impl Clone for UdpScrapeResponse
impl Clone for UdpScrapeResponse
Source§fn clone(&self) -> UdpScrapeResponse
fn clone(&self) -> UdpScrapeResponse
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 moreAuto Trait Implementations§
impl Freeze for UdpScrapeResponse
impl RefUnwindSafe for UdpScrapeResponse
impl Send for UdpScrapeResponse
impl Sync for UdpScrapeResponse
impl Unpin for UdpScrapeResponse
impl UnsafeUnpin for UdpScrapeResponse
impl UnwindSafe for UdpScrapeResponse
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