pub struct Update;
Expand description
Update 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.BadRequest
if the givenid
is not aUuid
or the request is missing/invalid.NotFound
if the jig or module does not exist.
Trait Implementations§
Source§impl ApiEndpoint for Update
impl ApiEndpoint for Update
Source§type Path = ModuleUploadPath
type Path = ModuleUploadPath
The path type for this endpoint.
Source§type Req = ModuleUpdateRequest
type Req = ModuleUpdateRequest
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 Update
impl RefUnwindSafe for Update
impl Send for Update
impl Sync for Update
impl Unpin for Update
impl UnwindSafe for Update
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