pub struct Delete;
Expand description
Delete a Module.
§Authorization
Standard + UserScope::ManageJig
.
§Errors
Unauthorized
if authorization is not valid.Forbidden
if the user does not have sufficient permission to perform the action.NotFound
if the jig or module does not exist.BadRequest
if the givenid
is not aUuid
.
Trait Implementations§
Source§impl ApiEndpoint for Delete
impl ApiEndpoint for Delete
Source§type Path = ModuleDeletePath
type Path = ModuleDeletePath
The path type for this endpoint.
Source§type Req = ModuleDeleteRequest
type Req = ModuleDeleteRequest
The request type for this endpoint.
Source§type Err = EmptyError
type Err = EmptyError
The (inner) error type for this endpoint.
Auto Trait Implementations§
impl Freeze for Delete
impl RefUnwindSafe for Delete
impl Send for Delete
impl Sync for Delete
impl Unpin for Delete
impl UnwindSafe for Delete
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