pub struct FileListQuery {
pub path: Option<String>,
}Expand description
Query parameters for listing files.
Fields§
§path: Option<String>Path to list files from, relative to the uploads directory. If not provided, lists the root uploads directory.
Trait Implementations§
Source§impl ComposeSchema for FileListQuery
impl ComposeSchema for FileListQuery
Source§impl Debug for FileListQuery
impl Debug for FileListQuery
Source§impl<'de> Deserialize<'de> for FileListQuery
impl<'de> Deserialize<'de> for FileListQuery
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 FileListQuery
impl IntoParams for FileListQuery
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 FileListQuery
impl RefUnwindSafe for FileListQuery
impl Send for FileListQuery
impl Sync for FileListQuery
impl Unpin for FileListQuery
impl UnwindSafe for FileListQuery
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