pub struct IngestResult /* private fields */ What an ingest did.
Implementations
Source
impl IngestResult
Source
pub fn is_successful(&self) -> bool
Source
pub fn error(&self) -> Option<&KineticaError>
Source
pub fn error_message(&self) -> Option<&str>
Source
pub fn table_name(&self) -> Option<&str>
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.
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
Source
impl Clone for IngestResult
Source
fn clone(&self) -> IngestResult
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 moreSource
impl Debug for IngestResult
Source
impl Default for IngestResult
Source
fn default() -> IngestResult
Returns the “default value” for a type. Read more