pub struct MemoryListPageDto {
pub items: Vec<MemoryListItemDto>,
pub next_cursor: Option<String>,
}Expand description
GET /v1/memories response: a page of items plus the resume cursor.
next_cursor is omitted when the enumeration is exhausted.
Fields§
§items: Vec<MemoryListItemDto>§next_cursor: Option<String>Implementations§
Source§impl MemoryListPageDto
impl MemoryListPageDto
Sourcepub fn from_frames(frames: Vec<MemoryListResponseFrame>) -> Self
pub fn from_frames(frames: Vec<MemoryListResponseFrame>) -> Self
Assemble from the streamed frames: flatten items, carry the tail frame’s cursor (hex, or omitted when empty).
Trait Implementations§
Source§impl Debug for MemoryListPageDto
impl Debug for MemoryListPageDto
Auto Trait Implementations§
impl Freeze for MemoryListPageDto
impl RefUnwindSafe for MemoryListPageDto
impl Send for MemoryListPageDto
impl Sync for MemoryListPageDto
impl Unpin for MemoryListPageDto
impl UnsafeUnpin for MemoryListPageDto
impl UnwindSafe for MemoryListPageDto
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