pub struct DataLoadResult {
pub dataview: DataView,
pub source_path: String,
pub table_name: String,
pub raw_table_name: String,
pub initial_row_count: usize,
pub initial_column_count: usize,
pub load_time: Duration,
}
Expand description
Result of loading data
Fields§
§dataview: DataView
The loaded DataView ready for display
source_path: String
Path to the source file
table_name: String
SQL-friendly table name
raw_table_name: String
Original table name (before sanitization)
initial_row_count: usize
Initial row count (before any filtering)
initial_column_count: usize
Initial column count
load_time: Duration
Time taken to load the file
Implementations§
Source§impl DataLoadResult
impl DataLoadResult
Sourcepub fn status_message(&self) -> String
pub fn status_message(&self) -> String
Generate a status message for the load operation
Auto Trait Implementations§
impl Freeze for DataLoadResult
impl !RefUnwindSafe for DataLoadResult
impl Send for DataLoadResult
impl Sync for DataLoadResult
impl Unpin for DataLoadResult
impl !UnwindSafe for DataLoadResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more