pub struct IngestStats {
pub records_read: usize,
pub records_kept: usize,
pub records_dropped: usize,
pub bytes_read: u64,
pub kept_by_type: HashMap<String, usize>,
pub dropped_by_type: HashMap<String, usize>,
pub from_offset: u64,
pub to_offset: u64,
}Fields§
§records_read: usize§records_kept: usize§records_dropped: usize§bytes_read: u64§kept_by_type: HashMap<String, usize>§dropped_by_type: HashMap<String, usize>§from_offset: u64§to_offset: u64Trait Implementations§
Source§impl Clone for IngestStats
impl Clone for IngestStats
Source§fn clone(&self) -> IngestStats
fn clone(&self) -> IngestStats
Returns a duplicate of the value. Read more
1.0.0 · 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 IngestStats
impl Debug for IngestStats
Source§impl<'de> Deserialize<'de> for IngestStats
impl<'de> Deserialize<'de> for IngestStats
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 IngestStats
impl RefUnwindSafe for IngestStats
impl Send for IngestStats
impl Sync for IngestStats
impl Unpin for IngestStats
impl UnsafeUnpin for IngestStats
impl UnwindSafe for IngestStats
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