pub enum Pagination {
Default,
MaxResults(u32),
ChunkSize(u32),
}
Expand description
Controls the upper limit of how many tickets the response from Jira can contain:
Default
: Use the default settings of this instance, which sets an arbitrary limit on the number of tickets.MaxResults
: Set the upper limit to this value. Note that each instance has a maximum allowed value, and if you setMaxResults
higher than that, the instance uses its own maximum allowed value.ChunkSize
: Access the tickets in a series of requests, each accessing the number of tickets equal to the chunk size. This enables you to access an unlimited number of tickets, as long as the chunk size is smaller than the maximum allowed results size for the instance.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Pagination
impl RefUnwindSafe for Pagination
impl Send for Pagination
impl Sync for Pagination
impl Unpin for Pagination
impl UnwindSafe for Pagination
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