Skip to main content

IngestReport

Struct IngestReport 

Source
pub struct IngestReport {
Show 14 fields pub built: bool, pub index_path: PathBuf, pub records_read: u64, pub inserted: u64, pub updated: u64, pub deleted: u64, pub skipped_lines: u64, pub skipped_examples: Vec<String>, pub record_count: i64, pub group_count: i64, pub source_bytes: u64, pub index_bytes: u64, pub elapsed_seconds: f64, pub inferred_mapping: Option<Fields>,
}

Fields§

§built: bool§index_path: PathBuf§records_read: u64§inserted: u64§updated: u64

Existing ids replaced (in a full build: duplicate ids in the sources).

§deleted: u64§skipped_lines: u64§skipped_examples: Vec<String>§record_count: i64§group_count: i64§source_bytes: u64§index_bytes: u64§elapsed_seconds: f64§inferred_mapping: Option<Fields>

Set when no config or flags were given and the mapping was inferred.

Trait Implementations§

Source§

impl Debug for IngestReport

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for IngestReport

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Serialize for IngestReport

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.