pub struct CursorListDTO<T> {
pub items: Vec<T>,
pub page_info: PageInfoDTO,
}Expand description
{ "items": [...], "pageInfo": {...} } 形式的通用游标分页响应。
Fields§
§items: Vec<T>§page_info: PageInfoDTOTrait Implementations§
Source§impl<T: Clone> Clone for CursorListDTO<T>
impl<T: Clone> Clone for CursorListDTO<T>
Source§impl<T: Debug> Debug for CursorListDTO<T>
impl<T: Debug> Debug for CursorListDTO<T>
Source§impl<'de, T> Deserialize<'de> for CursorListDTO<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for CursorListDTO<T>where
T: Deserialize<'de>,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<T> Freeze for CursorListDTO<T>
impl<T> RefUnwindSafe for CursorListDTO<T>where
Vec<T>: RefUnwindSafe,
impl<T> Send for CursorListDTO<T>
impl<T> Sync for CursorListDTO<T>
impl<T> Unpin for CursorListDTO<T>
impl<T> UnsafeUnpin for CursorListDTO<T>where
Vec<T>: UnsafeUnpin,
impl<T> UnwindSafe for CursorListDTO<T>where
Vec<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