pub struct SlimListResponse<S: Serialize> {
pub meta: ListMeta,
pub results: Vec<S>,
}Expand description
Slim wrapper returned by all list functions — keeps meta but drops group_by and maps full entities to their summary equivalents.
Fields§
§meta: ListMeta§results: Vec<S>Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for SlimListResponse<S>
impl<S> RefUnwindSafe for SlimListResponse<S>where
S: RefUnwindSafe,
impl<S> Send for SlimListResponse<S>where
S: Send,
impl<S> Sync for SlimListResponse<S>where
S: Sync,
impl<S> Unpin for SlimListResponse<S>where
S: Unpin,
impl<S> UnsafeUnpin for SlimListResponse<S>
impl<S> UnwindSafe for SlimListResponse<S>where
S: 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