pub struct SetLocation {
pub f: SetLocationForm,
}
Expand description
§/api/v2/torrents/setLocation
Fields§
§f: SetLocationForm
Trait Implementations§
Source§impl Endpoint for SetLocation
impl Endpoint for SetLocation
type Form = SetLocationForm
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 Freeze for SetLocation
impl RefUnwindSafe for SetLocation
impl Send for SetLocation
impl Sync for SetLocation
impl Unpin for SetLocation
impl UnwindSafe for SetLocation
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