pub struct ResponsePage<T> {
pub values: Vec<T>,
pub total_count: u64,
pub offset: u64,
pub limit: u64,
}
Expand description
Return value from paged requests, includes the actual value as well as pagination data
Fields§
§values: Vec<T>
The actual value returned by Redmine deserialized into a user provided type
total_count: u64
The total number of values that could be returned by requesting all pages
offset: u64
The offset from the start (zero-based)
limit: u64
How many entries were returned
Trait Implementations§
Source§impl<T: Clone> Clone for ResponsePage<T>
impl<T: Clone> Clone for ResponsePage<T>
Source§fn clone(&self) -> ResponsePage<T>
fn clone(&self) -> ResponsePage<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<T> Freeze for ResponsePage<T>
impl<T> RefUnwindSafe for ResponsePage<T>where
T: RefUnwindSafe,
impl<T> Send for ResponsePage<T>where
T: Send,
impl<T> Sync for ResponsePage<T>where
T: Sync,
impl<T> Unpin for ResponsePage<T>where
T: Unpin,
impl<T> UnwindSafe for ResponsePage<T>where
T: UnwindSafe,
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