pub struct LibraryResourcePageQuery {
pub folder_id: Option<Uuid>,
pub page: u32,
pub page_size: u32,
pub query: Option<String>,
pub status: Option<LibraryIngestStatus>,
pub sort_by: LibraryResourceSortBy,
pub sort_direction: SortDirection,
}Fields§
§folder_id: Option<Uuid>§page: u32§page_size: u32§query: Option<String>§status: Option<LibraryIngestStatus>§sort_by: LibraryResourceSortBy§sort_direction: SortDirectionTrait Implementations§
Source§impl Clone for LibraryResourcePageQuery
impl Clone for LibraryResourcePageQuery
Source§fn clone(&self) -> LibraryResourcePageQuery
fn clone(&self) -> LibraryResourcePageQuery
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LibraryResourcePageQuery
impl Debug for LibraryResourcePageQuery
Source§impl<'de> Deserialize<'de> for LibraryResourcePageQuery
impl<'de> Deserialize<'de> for LibraryResourcePageQuery
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 LibraryResourcePageQuery
impl IntoParams for LibraryResourcePageQuery
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 LibraryResourcePageQuery
impl RefUnwindSafe for LibraryResourcePageQuery
impl Send for LibraryResourcePageQuery
impl Sync for LibraryResourcePageQuery
impl Unpin for LibraryResourcePageQuery
impl UnsafeUnpin for LibraryResourcePageQuery
impl UnwindSafe for LibraryResourcePageQuery
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