pub struct PieceHashes {
pub q: PieceHashesQuery,
}Expand description
§/api/v2/torrents/pieceHashes
Fields§
§q: PieceHashesQueryTrait Implementations§
Source§impl Endpoint for PieceHashes
impl Endpoint for PieceHashes
Source§type Query = PieceHashesQuery
type Query = PieceHashesQuery
define type of query, form and response
type Form = ()
type Response = Vec<String>
Source§fn relative_path(&self) -> Cow<'_, str>
fn relative_path(&self) -> Cow<'_, str>
The endpoint relative path. Must start with a
/Source§fn check_status(&self, status: StatusCode) -> Option<ClientError>
fn check_status(&self, status: StatusCode) -> Option<ClientError>
Check the status code
Auto Trait Implementations§
impl Freeze for PieceHashes
impl RefUnwindSafe for PieceHashes
impl Send for PieceHashes
impl Sync for PieceHashes
impl Unpin for PieceHashes
impl UnwindSafe for PieceHashes
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