pub struct ProjectsListForUserParams<'req> { /* private fields */ }Expand description
Query parameters for the List user projects endpoint.
Implementations§
Source§impl<'req> ProjectsListForUserParams<'req>
impl<'req> ProjectsListForUserParams<'req>
pub fn new() -> Self
Sourcepub fn per_page(self, per_page: u16) -> Self
pub fn per_page(self, per_page: u16) -> Self
The number of results per page (max 100). For more information, see "Using pagination in the REST API."
Sourcepub fn page(self, page: u16) -> Self
pub fn page(self, page: u16) -> Self
The page number of the results to fetch. For more information, see "Using pagination in the REST API."
Trait Implementations§
Source§impl<'req> Default for ProjectsListForUserParams<'req>
impl<'req> Default for ProjectsListForUserParams<'req>
Source§fn default() -> ProjectsListForUserParams<'req>
fn default() -> ProjectsListForUserParams<'req>
Returns the “default value” for a type. Read more
Source§impl<'enc> From<&'enc PerPage> for ProjectsListForUserParams<'enc>
impl<'enc> From<&'enc PerPage> for ProjectsListForUserParams<'enc>
Auto Trait Implementations§
impl<'req> Freeze for ProjectsListForUserParams<'req>
impl<'req> RefUnwindSafe for ProjectsListForUserParams<'req>
impl<'req> Send for ProjectsListForUserParams<'req>
impl<'req> Sync for ProjectsListForUserParams<'req>
impl<'req> Unpin for ProjectsListForUserParams<'req>
impl<'req> UnwindSafe for ProjectsListForUserParams<'req>
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