Struct modio::ModioListResponse [−][src]
pub struct ModioListResponse<T> { pub data: Vec<T>, pub count: u32, pub total: u32, pub limit: u32, pub offset: u32, }
See the Multiple Item Response docs for more informations.
Fields
data: Vec<T>
count: u32
total: u32
limit: u32
offset: u32
Trait Implementations
impl<T: Debug> Debug for ModioListResponse<T>
[src]
impl<T: Debug> Debug for ModioListResponse<T>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<T> Index<usize> for ModioListResponse<T>
[src]
impl<T> Index<usize> for ModioListResponse<T>
type Output = T
The returned type after indexing.
fn index(&self, index: usize) -> &Self::Output
[src]
fn index(&self, index: usize) -> &Self::Output
Performs the indexing (container[index]
) operation.
impl<T> IntoIterator for ModioListResponse<T>
[src]
impl<T> IntoIterator for ModioListResponse<T>
type Item = T
The type of the elements being iterated over.
type IntoIter = IntoIter<T>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
fn into_iter(self) -> Self::IntoIter
Creates an iterator from a value. Read more
impl<'a, T> IntoIterator for &'a ModioListResponse<T>
[src]
impl<'a, T> IntoIterator for &'a ModioListResponse<T>
Auto Trait Implementations
impl<T> Send for ModioListResponse<T> where
T: Send,
impl<T> Send for ModioListResponse<T> where
T: Send,
impl<T> Sync for ModioListResponse<T> where
T: Sync,
impl<T> Sync for ModioListResponse<T> where
T: Sync,