pub struct FormatBatchResult {
pub documents: Vec<String>,
pub errors: Vec<LineError>,
pub statistics: BatchStatistics,
}Expand description
Result of processing a batch of documents
Fields§
§documents: Vec<String>Successfully processed JSON documents (normalized output)
errors: Vec<LineError>Processing errors
statistics: BatchStatisticsBatch statistics
Implementations§
Source§impl FormatBatchResult
impl FormatBatchResult
Sourcepub fn with_capacity(capacity: usize) -> Self
pub fn with_capacity(capacity: usize) -> Self
Create a batch result with pre-allocated capacity
Trait Implementations§
Source§impl Debug for FormatBatchResult
impl Debug for FormatBatchResult
Auto Trait Implementations§
impl Freeze for FormatBatchResult
impl RefUnwindSafe for FormatBatchResult
impl Send for FormatBatchResult
impl Sync for FormatBatchResult
impl Unpin for FormatBatchResult
impl UnwindSafe for FormatBatchResult
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