Struct qbit_api_rs::api::TorrentsAddPeers
source · pub struct TorrentsAddPeers {
pub f: TorrentsAddPeersForm,
}
Expand description
Fields§
§f: TorrentsAddPeersForm
Trait Implementations§
source§impl Endpoint for TorrentsAddPeers
impl Endpoint for TorrentsAddPeers
type Form = TorrentsAddPeersForm
type Response = 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 RefUnwindSafe for TorrentsAddPeers
impl Send for TorrentsAddPeers
impl Sync for TorrentsAddPeers
impl Unpin for TorrentsAddPeers
impl UnwindSafe for TorrentsAddPeers
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