pub struct ReposGetAllEnvironmentsParams { /* private fields */ }Expand description
Query parameters for the List environments endpoint.
Implementations§
Source§impl ReposGetAllEnvironmentsParams
impl ReposGetAllEnvironmentsParams
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 Default for ReposGetAllEnvironmentsParams
impl Default for ReposGetAllEnvironmentsParams
Source§fn default() -> ReposGetAllEnvironmentsParams
fn default() -> ReposGetAllEnvironmentsParams
Returns the “default value” for a type. Read more
Source§impl<'enc> From<&'enc PerPage> for ReposGetAllEnvironmentsParams
impl<'enc> From<&'enc PerPage> for ReposGetAllEnvironmentsParams
Auto Trait Implementations§
impl Freeze for ReposGetAllEnvironmentsParams
impl RefUnwindSafe for ReposGetAllEnvironmentsParams
impl Send for ReposGetAllEnvironmentsParams
impl Sync for ReposGetAllEnvironmentsParams
impl Unpin for ReposGetAllEnvironmentsParams
impl UnwindSafe for ReposGetAllEnvironmentsParams
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