pub struct ImportResult {
pub file: String,
pub exchange: String,
pub symbol: String,
pub rows_parsed: usize,
pub rows_inserted: usize,
pub rows_skipped: usize,
pub elapsed: Duration,
}Expand description
Result of an import operation.
Fields§
§file: String§exchange: String§symbol: String§rows_parsed: usize§rows_inserted: usize§rows_skipped: usize§elapsed: DurationTrait Implementations§
Auto Trait Implementations§
impl Freeze for ImportResult
impl RefUnwindSafe for ImportResult
impl Send for ImportResult
impl Sync for ImportResult
impl Unpin for ImportResult
impl UnsafeUnpin for ImportResult
impl UnwindSafe for ImportResult
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> 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