pub struct CodespacesListForAuthenticatedUserParams { /* private fields */ }Expand description
Query parameters for the List codespaces for the authenticated user endpoint.
Implementations§
Source§impl CodespacesListForAuthenticatedUserParams
impl CodespacesListForAuthenticatedUserParams
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."
Sourcepub fn repository_id(self, repository_id: i32) -> Self
pub fn repository_id(self, repository_id: i32) -> Self
ID of the Repository to filter on
Trait Implementations§
Source§impl Default for CodespacesListForAuthenticatedUserParams
impl Default for CodespacesListForAuthenticatedUserParams
Source§fn default() -> CodespacesListForAuthenticatedUserParams
fn default() -> CodespacesListForAuthenticatedUserParams
Returns the “default value” for a type. Read more
Source§impl<'enc> From<&'enc PerPage> for CodespacesListForAuthenticatedUserParams
impl<'enc> From<&'enc PerPage> for CodespacesListForAuthenticatedUserParams
Auto Trait Implementations§
impl Freeze for CodespacesListForAuthenticatedUserParams
impl RefUnwindSafe for CodespacesListForAuthenticatedUserParams
impl Send for CodespacesListForAuthenticatedUserParams
impl Sync for CodespacesListForAuthenticatedUserParams
impl Unpin for CodespacesListForAuthenticatedUserParams
impl UnwindSafe for CodespacesListForAuthenticatedUserParams
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