pub struct ProjectsRequest { /* private fields */ }Expand description
Searches all the projects on Hangar, or for a single user. Requires the view_public_info permission.
Implementations§
Source§impl ProjectsRequest
impl ProjectsRequest
Sourcepub fn builder() -> ProjectsRequestBuilder<((), (), (), (), (), (), (), (), (), (), ())>
pub fn builder() -> ProjectsRequestBuilder<((), (), (), (), (), (), (), (), (), (), ())>
Create a builder for building ProjectsRequest.
On the builder, call .prioritize_exact_match(...)(optional), .pagination(...), .sort(...)(optional), .category(...)(optional), .platform(...)(optional), .owner(...)(optional), .query(...)(optional), .license(...)(optional), .version(...)(optional), .tag(...)(optional), .member(...)(optional) to set the values of the fields.
Finally, call .build() to create the instance of ProjectsRequest.
Trait Implementations§
Source§impl Debug for ProjectsRequest
impl Debug for ProjectsRequest
Source§impl Default for ProjectsRequest
impl Default for ProjectsRequest
Source§fn default() -> ProjectsRequest
fn default() -> ProjectsRequest
Returns the “default value” for a type. Read more
Source§impl HangarRequest for ProjectsRequest
impl HangarRequest for ProjectsRequest
Auto Trait Implementations§
impl Freeze for ProjectsRequest
impl RefUnwindSafe for ProjectsRequest
impl Send for ProjectsRequest
impl Sync for ProjectsRequest
impl Unpin for ProjectsRequest
impl UnwindSafe for ProjectsRequest
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