pub struct Update;
Expand description
Update an image tag by index.
§Authorization
Standard + UserScope::Admin
§Errors
Unauthorized
if authorization is not valid.Forbidden
if the user does not have sufficient permission to perform the action.BadRequest
if the request is missing/invalid.NotFound
if the image tag does not exist.Conflict
if the requestedindex
is already occupied.
Trait Implementations§
Source§impl ApiEndpoint for Update
impl ApiEndpoint for Update
Source§type Path = ImageTagUpdatePath
type Path = ImageTagUpdatePath
The path type for this endpoint.
Source§type Req = ImageTagUpdateRequest
type Req = ImageTagUpdateRequest
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