pub struct PagedLoadExecution<E: EntityKind> { /* private fields */ }Expand description
PagedLoadExecution
Cursor-paged load response with optional continuation cursor bytes.
Implementations§
Source§impl<E: EntityKind> PagedLoadExecution<E>
impl<E: EntityKind> PagedLoadExecution<E>
Sourcepub const fn new(
response: EntityResponse<E>,
continuation_cursor: Option<Vec<u8>>,
) -> Self
pub const fn new( response: EntityResponse<E>, continuation_cursor: Option<Vec<u8>>, ) -> Self
Create a paged load execution payload.
Sourcepub const fn response(&self) -> &EntityResponse<E>
pub const fn response(&self) -> &EntityResponse<E>
Borrow the paged response rows.
Sourcepub fn continuation_cursor(&self) -> Option<&[u8]>
pub fn continuation_cursor(&self) -> Option<&[u8]>
Borrow the optional continuation cursor bytes.
Sourcepub fn into_parts(self) -> (EntityResponse<E>, Option<Vec<u8>>)
pub fn into_parts(self) -> (EntityResponse<E>, Option<Vec<u8>>)
Consume this payload and return (response, continuation_cursor).
Trait Implementations§
Source§impl<E: Debug + EntityKind> Debug for PagedLoadExecution<E>
impl<E: Debug + EntityKind> Debug for PagedLoadExecution<E>
Source§impl<'a, E: EntityKind> IntoIterator for &'a PagedLoadExecution<E>
impl<'a, E: EntityKind> IntoIterator for &'a PagedLoadExecution<E>
Auto Trait Implementations§
impl<E> Freeze for PagedLoadExecution<E>
impl<E> RefUnwindSafe for PagedLoadExecution<E>
impl<E> Send for PagedLoadExecution<E>
impl<E> Sync for PagedLoadExecution<E>
impl<E> Unpin for PagedLoadExecution<E>
impl<E> UnsafeUnpin for PagedLoadExecution<E>
impl<E> UnwindSafe for PagedLoadExecution<E>
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