Struct ejdb2_sys_windows::_EJDB_LIST
source · [−]#[repr(C)]pub struct _EJDB_LIST {
pub db: EJDB,
pub q: JQL,
pub first: EJDB_DOC,
pub pool: *mut IWPOOL,
}Expand description
@brief Query result as list.
Used as result of ejdb_list() query functions.
@warning Getting result of query as list can be very memory consuming for large collections.
Consider use of ejdb_exec() with visitor or set limit for query.
Fields
db: EJDB< EJDB storage used for query execution. Not zero.
q: JQL< Query executed. Not zero.
first: EJDB_DOC< First document in result list. Zero if result set is empty.
pool: *mut IWPOOL< Memory pool used to store list of documents
Trait Implementations
sourceimpl Clone for _EJDB_LIST
impl Clone for _EJDB_LIST
sourcefn clone(&self) -> _EJDB_LIST
fn clone(&self) -> _EJDB_LIST
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for _EJDB_LIST
impl Debug for _EJDB_LIST
impl Copy for _EJDB_LIST
Auto Trait Implementations
impl RefUnwindSafe for _EJDB_LIST
impl !Send for _EJDB_LIST
impl !Sync for _EJDB_LIST
impl Unpin for _EJDB_LIST
impl UnwindSafe for _EJDB_LIST
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more