pub struct Browse;
Expand description
Browse images.
§Request
The request should be supplied as a URL query string. kind
field must match the case as
represented in the returned json body (PascalCase
?).
Ex: ?kind=Canvas&page=0
§Errors:
400 - BadRequest
if the request is invalid.401 - Unauthorized
if authorization is not valid.403 - Forbidden
if the user does not have sufficient permission to perform the action.
Trait Implementations§
Source§impl ApiEndpoint for Browse
impl ApiEndpoint for Browse
Source§type Req = ImageBrowseQuery
type Req = ImageBrowseQuery
The request type for this endpoint.
Source§type Res = ImageBrowseResponse
type Res = ImageBrowseResponse
The response type for this endpoint.
Source§type Path = ImageBrowsePath
type Path = ImageBrowsePath
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 Browse
impl RefUnwindSafe for Browse
impl Send for Browse
impl Sync for Browse
impl Unpin for Browse
impl UnwindSafe for Browse
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