pub struct Put;
Expand description
Update or add an entry in the list of recent user images. Invoking this bumps the entry to the top of the recent images list.
§Errors
-
Unauthorized
if authorization is not valid. -
NotFound
if the image doesn’t exist in the user’s recent images list. -
‘BadRequest’ if the request is malformed.
Trait Implementations§
Source§impl ApiEndpoint for Put
impl ApiEndpoint for Put
Source§type Path = UserRecentImageUpsertPath
type Path = UserRecentImageUpsertPath
The path type for this endpoint.
Source§type Req = UserRecentImageUpsertRequest
type Req = UserRecentImageUpsertRequest
The request type for this endpoint.
Source§type Res = UserRecentImageResponse
type Res = UserRecentImageResponse
The response type for this endpoint.
Source§type Err = EmptyError
type Err = EmptyError
The (inner) error type for this endpoint.
Auto Trait Implementations§
impl Freeze for Put
impl RefUnwindSafe for Put
impl Send for Put
impl Sync for Put
impl Unpin for Put
impl UnwindSafe for Put
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