Struct aquatic_http_protocol::request::ScrapeRequest
source · pub struct ScrapeRequest {
pub info_hashes: Vec<InfoHash>,
}
Fields§
§info_hashes: Vec<InfoHash>
Implementations§
source§impl ScrapeRequest
impl ScrapeRequest
pub fn parse_query_string(query_string: &str) -> Result<Self>
Trait Implementations§
source§impl Clone for ScrapeRequest
impl Clone for ScrapeRequest
source§fn clone(&self) -> ScrapeRequest
fn clone(&self) -> ScrapeRequest
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 ScrapeRequest
impl Debug for ScrapeRequest
source§impl PartialEq for ScrapeRequest
impl PartialEq for ScrapeRequest
source§fn eq(&self, other: &ScrapeRequest) -> bool
fn eq(&self, other: &ScrapeRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ScrapeRequest
impl StructuralPartialEq for ScrapeRequest
Auto Trait Implementations§
impl Freeze for ScrapeRequest
impl RefUnwindSafe for ScrapeRequest
impl Send for ScrapeRequest
impl Sync for ScrapeRequest
impl Unpin for ScrapeRequest
impl UnwindSafe for ScrapeRequest
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