pub struct SinkSummary {
pub records_written: usize,
pub bytes_written: Option<u64>,
pub file_paths: Vec<String>,
pub metadata: HashMap<String, String>,
}Expand description
Summary returned by a sink plugin after finalization.
Fields§
§records_written: usizeTotal records written.
bytes_written: Option<u64>Total bytes written (if tracked).
file_paths: Vec<String>Paths of files written (if applicable).
metadata: HashMap<String, String>Additional summary metadata.
Implementations§
Trait Implementations§
Source§impl Clone for SinkSummary
impl Clone for SinkSummary
Source§fn clone(&self) -> SinkSummary
fn clone(&self) -> SinkSummary
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 SinkSummary
impl Debug for SinkSummary
Source§impl<'de> Deserialize<'de> for SinkSummary
impl<'de> Deserialize<'de> for SinkSummary
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 SinkSummary
impl RefUnwindSafe for SinkSummary
impl Send for SinkSummary
impl Sync for SinkSummary
impl Unpin for SinkSummary
impl UnwindSafe for SinkSummary
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