#[repr(C)]pub struct C4QueryEnumerator {
pub columns: FLArrayIterator,
pub missingColumns: u64,
pub fullTextMatchCount: u32,
pub fullTextMatches: *const C4FullTextMatch,
}Expand description
A query result enumerator. Created by c4db_query. Must be freed with c4queryenum_release. The fields of this struct represent the current matched index row, and are valid until the next call to c4queryenum_next or c4queryenum_release.
Fields§
§columns: FLArrayIteratorThe columns of this result, in the same order as in the query’s WHAT clause.
missingColumns: u64A bitmap where a 1 bit represents a column whose value is MISSING.
This is how you tell a missing property value from a value that’s JSON ‘null’,
since the value in the columns array will be a Fleece null either way.
fullTextMatchCount: u32The number of full-text matches (i.e. the number of items in fullTextMatches)
fullTextMatches: *const C4FullTextMatchArray with details of each full-text match
Trait Implementations§
Source§impl Clone for C4QueryEnumerator
impl Clone for C4QueryEnumerator
Source§fn clone(&self) -> C4QueryEnumerator
fn clone(&self) -> C4QueryEnumerator
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 C4QueryEnumerator
impl Debug for C4QueryEnumerator
impl Copy for C4QueryEnumerator
Auto Trait Implementations§
impl Freeze for C4QueryEnumerator
impl RefUnwindSafe for C4QueryEnumerator
impl !Send for C4QueryEnumerator
impl !Sync for C4QueryEnumerator
impl Unpin for C4QueryEnumerator
impl UnwindSafe for C4QueryEnumerator
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