pub struct Search;
Expand description
Search for images.
The request should be supplied as a URL query string. This is handled by serde
if using a to_string
call.
See ImageSearchQuery
for more more usage details.
Ex: ?age_ranges=b873b584-efd0-11eb-b4b7-b791fd521ed5,b8388824-efd0-11eb-b4b7-c335e6a1139f,b778a054-efd0-11eb-b4b7-6f7305d76205&page=0
§Authorization
Standard
§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.501 - NotImplemented
when the algolia service is disabled.
Trait Implementations§
Source§impl ApiEndpoint for Search
impl ApiEndpoint for Search
Source§type Req = ImageSearchQuery
type Req = ImageSearchQuery
The request type for this endpoint.
Source§type Res = ImageSearchResponse
type Res = ImageSearchResponse
The response type for this endpoint.
Source§type Path = ImageSearchPath
type Path = ImageSearchPath
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 Search
impl RefUnwindSafe for Search
impl Send for Search
impl Sync for Search
impl Unpin for Search
impl UnwindSafe for Search
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