pub struct IndexCursorMeta {
pub cursor_id: i32,
pub column_indices: Vec<usize>,
}Expand description
Metadata about an index cursor for REPLACE conflict resolution.
Used by native_replace_row to clean up secondary index entries when
a table row is deleted due to REPLACE conflict resolution.
Fields§
§cursor_id: i32Cursor ID of the index (typically table_cursor + 1, +2, …).
column_indices: Vec<usize>Column indices (0-based positions in the table schema) that make up
the index key. The index key is (col[0], col[1], ..., rowid).
Trait Implementations§
Source§impl Clone for IndexCursorMeta
impl Clone for IndexCursorMeta
Source§fn clone(&self) -> IndexCursorMeta
fn clone(&self) -> IndexCursorMeta
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IndexCursorMeta
impl Debug for IndexCursorMeta
Source§impl PartialEq for IndexCursorMeta
impl PartialEq for IndexCursorMeta
impl Eq for IndexCursorMeta
impl StructuralPartialEq for IndexCursorMeta
Auto Trait Implementations§
impl Freeze for IndexCursorMeta
impl RefUnwindSafe for IndexCursorMeta
impl Send for IndexCursorMeta
impl Sync for IndexCursorMeta
impl Unpin for IndexCursorMeta
impl UnsafeUnpin for IndexCursorMeta
impl UnwindSafe for IndexCursorMeta
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).