pub struct RejectedBatch {
pub batch_index: usize,
pub start_row: u64,
pub row_count: usize,
pub error: String,
}Expand description
A batch that failed to write as a unit.
start_row is the 0-based index (within the whole write) of the
first row in the batch; row_count its size. error is the driver
error message. When WriteOptions::isolate_failures is set, the
per-row breakdown is in WriteReport::rejected_rows instead.
Fields§
§batch_index: usize§start_row: u64§row_count: usize§error: StringTrait Implementations§
Source§impl Clone for RejectedBatch
impl Clone for RejectedBatch
Source§fn clone(&self) -> RejectedBatch
fn clone(&self) -> RejectedBatch
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RejectedBatch
impl RefUnwindSafe for RejectedBatch
impl Send for RejectedBatch
impl Sync for RejectedBatch
impl Unpin for RejectedBatch
impl UnsafeUnpin for RejectedBatch
impl UnwindSafe for RejectedBatch
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