Skip to main content
pub struct IngestResult  /* private fields */ 

What an ingest did.

Implementations

Source

pub fn is_successful(&self) -> bool

Source

pub fn error_message(&self) -> Option<&str>

Source

pub fn table_name(&self) -> Option<&str>

Source

pub fn files(&self) -> &[String]

The files the server ingested.

Source

pub fn count_inserted(&self) -> i64

Source

pub fn count_skipped(&self) -> i64

Source

pub fn count_updated(&self) -> i64

Source

pub fn set_successful(&mut self, successful: bool) -> &mut Self

Sets whether the ingest succeeded.

Source

pub fn set_error(&mut self, error: Option<KineticaError>) -> &mut Self

Sets the error the ingest failed with.

Source

pub fn set_error_message(&mut self, error_message: Option<String>) -> &mut Self

Sets the message of the error the ingest failed with.

Source

pub fn set_table_name(&mut self, table_name: Option<String>) -> &mut Self

Sets the name of the table ingested into.

Source

pub fn set_files(&mut self, files: Vec<String>) -> &mut Self

Sets the files the server ingested.

Source

pub fn set_count_inserted(&mut self, count: i64) -> &mut Self

Sets the number of records inserted.

Source

pub fn set_count_skipped(&mut self, count: i64) -> &mut Self

Sets the number of records skipped.

Source

pub fn set_count_updated(&mut self, count: i64) -> &mut Self

Sets the number of records updated.

Trait Implementations

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source

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

Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more