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