pub struct SearchImagesQuery {
pub term: String,
pub limit: u32,
}Expand description
Query parameters for the search-images handler.
Fields§
§term: StringSearch term — image name or substring.
limit: u32Maximum number of results to return. 0 means “let the registry
decide”.
Trait Implementations§
Source§impl Debug for SearchImagesQuery
impl Debug for SearchImagesQuery
Source§impl Default for SearchImagesQuery
impl Default for SearchImagesQuery
Source§fn default() -> SearchImagesQuery
fn default() -> SearchImagesQuery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SearchImagesQuery
impl<'de> Deserialize<'de> for SearchImagesQuery
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl IntoParams for SearchImagesQuery
impl IntoParams for SearchImagesQuery
Source§fn into_params(
parameter_in_provider: impl Fn() -> Option<ParameterIn>,
) -> Vec<Parameter>
fn into_params( parameter_in_provider: impl Fn() -> Option<ParameterIn>, ) -> Vec<Parameter>
Provide
Vec of openapi::path::Parameters to caller. The result is used in utoipa-gen library to
provide OpenAPI parameter information for the endpoint using the parameters.Auto Trait Implementations§
impl Freeze for SearchImagesQuery
impl RefUnwindSafe for SearchImagesQuery
impl Send for SearchImagesQuery
impl Sync for SearchImagesQuery
impl Unpin for SearchImagesQuery
impl UnsafeUnpin for SearchImagesQuery
impl UnwindSafe for SearchImagesQuery
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