pub struct BorrowedFetchResult {
pub batch: BorrowedRowBatch,
pub more_rows: bool,
pub cursor_id: u32,
pub row_count: u64,
}Expand description
The borrowed counterpart of a fetched QueryResult: a BorrowedRowBatch
of zero-copy rows plus the response-level fields a caller needs to page and
finalize the cursor. Produced by parse_query_response_borrowed.
Fields§
§batch: BorrowedRowBatchThe decoded rows, borrowing the response buffer.
more_rows: boolWhether the server reports more rows for this cursor.
cursor_id: u32Server cursor id (for paging / release).
row_count: u64Total affected/processed row count from the end-of-call error message.
Trait Implementations§
Source§impl Clone for BorrowedFetchResult
impl Clone for BorrowedFetchResult
Source§fn clone(&self) -> BorrowedFetchResult
fn clone(&self) -> BorrowedFetchResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BorrowedFetchResult
impl RefUnwindSafe for BorrowedFetchResult
impl Send for BorrowedFetchResult
impl Sync for BorrowedFetchResult
impl Unpin for BorrowedFetchResult
impl UnsafeUnpin for BorrowedFetchResult
impl UnwindSafe for BorrowedFetchResult
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