Struct forgejo_api::structs::ListPackagesQuery
source · pub struct ListPackagesQuery {
pub page: Option<u32>,
pub limit: Option<u32>,
pub type: Option<ListPackagesQueryType>,
pub q: Option<String>,
}Fields§
§page: Option<u32>page number of results to return (1-based)
limit: Option<u32>page size of results
type: Option<ListPackagesQueryType>package type filter
q: Option<String>name filter
Trait Implementations§
source§impl Clone for ListPackagesQuery
impl Clone for ListPackagesQuery
source§fn clone(&self) -> ListPackagesQuery
fn clone(&self) -> ListPackagesQuery
Returns a copy of the value. Read more
1.0.0 · 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 ListPackagesQuery
impl Debug for ListPackagesQuery
source§impl Default for ListPackagesQuery
impl Default for ListPackagesQuery
source§fn default() -> ListPackagesQuery
fn default() -> ListPackagesQuery
Returns the “default value” for a type. Read more
source§impl Display for ListPackagesQuery
impl Display for ListPackagesQuery
source§impl PartialEq for ListPackagesQuery
impl PartialEq for ListPackagesQuery
source§fn eq(&self, other: &ListPackagesQuery) -> bool
fn eq(&self, other: &ListPackagesQuery) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ListPackagesQuery
Auto Trait Implementations§
impl Freeze for ListPackagesQuery
impl RefUnwindSafe for ListPackagesQuery
impl Send for ListPackagesQuery
impl Sync for ListPackagesQuery
impl Unpin for ListPackagesQuery
impl UnwindSafe for ListPackagesQuery
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