pub struct Get;
Expand description
Get an image by ID.
§Errors:
Unauthorized
if authorization is not valid.NotFound
if the image with the requested ID is not found.Forbidden
if the user does not have sufficient permission to perform the action.
Trait Implementations§
Source§impl ApiEndpoint for Get
impl ApiEndpoint for Get
Source§type Res = ImageResponse
type Res = ImageResponse
The response type for this endpoint.
Source§type Path = ImageGetPath
type Path = ImageGetPath
The path type for this endpoint.
Source§type Err = EmptyError
type Err = EmptyError
The (inner) error type for this endpoint.
Auto Trait Implementations§
impl Freeze for Get
impl RefUnwindSafe for Get
impl Send for Get
impl Sync for Get
impl Unpin for Get
impl UnwindSafe for Get
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