pub struct PagedGroupedExecution { /* private fields */ }Expand description
PagedGroupedExecution
Cursor-paged grouped execution payload with optional grouped continuation cursor bytes.
Implementations§
Source§impl PagedGroupedExecution
impl PagedGroupedExecution
Sourcepub const fn new(
rows: Vec<GroupedRow>,
continuation_cursor: Option<Vec<u8>>,
) -> Self
pub const fn new( rows: Vec<GroupedRow>, continuation_cursor: Option<Vec<u8>>, ) -> Self
Construct one grouped paged execution payload.
Sourcepub const fn rows(&self) -> &[GroupedRow]
pub const fn rows(&self) -> &[GroupedRow]
Borrow grouped rows.
Sourcepub fn continuation_cursor(&self) -> Option<&[u8]>
pub fn continuation_cursor(&self) -> Option<&[u8]>
Borrow optional continuation cursor bytes.
Sourcepub fn into_parts(self) -> (Vec<GroupedRow>, Option<Vec<u8>>)
pub fn into_parts(self) -> (Vec<GroupedRow>, Option<Vec<u8>>)
Consume into grouped rows and continuation cursor bytes.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PagedGroupedExecution
impl RefUnwindSafe for PagedGroupedExecution
impl Send for PagedGroupedExecution
impl Sync for PagedGroupedExecution
impl Unpin for PagedGroupedExecution
impl UnsafeUnpin for PagedGroupedExecution
impl UnwindSafe for PagedGroupedExecution
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