Struct dittolive_ditto_sys::c_cb_params[][src]

#[repr(C)]pub struct c_cb_params {
    pub documents: Vec<BoxedDocument>,
    pub is_initial: bool,
    pub old_documents: Option<Vec<BoxedDocument>>,
    pub insertions: Option<Box<usize>>,
    pub deletions: Option<Box<usize>>,
    pub updates: Option<Box<usize>>,
    pub moves: Option<Box<usize>>,
}

Fields

documents: Vec<BoxedDocument>

Must be freed with ditto_free_documents.

is_initial: boolold_documents: Option<Vec<BoxedDocument>>

Must be freed with ditto_free_documents.

insertions: Option<Box<usize>>

Must be freed using ditto_free_indices.

deletions: Option<Box<usize>>

Must be freed using ditto_free_indices.

updates: Option<Box<usize>>

Must be freed using ditto_free_indices.

moves: Option<Box<usize>>

Must be freed using ditto_free_indices.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ManuallyDropMut for T

type Ret = ManuallyDrop<T>

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.