Struct redmine_api::api::ResponsePage
source · [−]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
Auto Trait Implementations
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
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more