Struct qbit_api_rs::api::TorrentPeers
source · pub struct TorrentPeers {
pub q: SyncTorrentPeersQuery,
}
Expand description
Fields§
§q: SyncTorrentPeersQuery
Trait Implementations§
source§impl Endpoint for TorrentPeers
impl Endpoint for TorrentPeers
§type Query = SyncTorrentPeersQuery
type Query = SyncTorrentPeersQuery
define type of query, form and response
type Form = ()
type Response = SyncTorrentPeersResponse
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 RefUnwindSafe for TorrentPeers
impl Send for TorrentPeers
impl Sync for TorrentPeers
impl Unpin for TorrentPeers
impl UnwindSafe for TorrentPeers
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