pub struct WriteReport {
pub written: usize,
pub failed: Vec<FailedRecord>,
}Expand description
Report from a sink write operation.
Fields§
§written: usizeNumber of records successfully written.
failed: Vec<FailedRecord>Number of records that failed (per-element; non-fatal).
Trait Implementations§
Source§impl Clone for WriteReport
impl Clone for WriteReport
Source§fn clone(&self) -> WriteReport
fn clone(&self) -> WriteReport
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 moreSource§impl Debug for WriteReport
impl Debug for WriteReport
Source§impl Default for WriteReport
impl Default for WriteReport
Source§fn default() -> WriteReport
fn default() -> WriteReport
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WriteReport
impl<'de> Deserialize<'de> for WriteReport
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for WriteReport
impl RefUnwindSafe for WriteReport
impl Send for WriteReport
impl Sync for WriteReport
impl Unpin for WriteReport
impl UnsafeUnpin for WriteReport
impl UnwindSafe for WriteReport
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