pub struct FileDownloadQuery {
pub version: Option<String>,
}Expand description
Query parameters for downloading files.
Fields§
§version: Option<String>Specific version UUID to download. If not provided, returns the latest version.
Trait Implementations§
Source§impl ComposeSchema for FileDownloadQuery
impl ComposeSchema for FileDownloadQuery
Source§impl Debug for FileDownloadQuery
impl Debug for FileDownloadQuery
Source§impl<'de> Deserialize<'de> for FileDownloadQuery
impl<'de> Deserialize<'de> for FileDownloadQuery
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 FileDownloadQuery
impl IntoParams for FileDownloadQuery
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 FileDownloadQuery
impl RefUnwindSafe for FileDownloadQuery
impl Send for FileDownloadQuery
impl Sync for FileDownloadQuery
impl Unpin for FileDownloadQuery
impl UnwindSafe for FileDownloadQuery
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