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