pub struct TimestampEnricher;Expand description
A transform plugin that adds _generated_at (ISO 8601 UTC) and
_plugin_version fields to each record.
Implementations§
Trait Implementations§
Source§impl Default for TimestampEnricher
impl Default for TimestampEnricher
Source§impl TransformPlugin for TimestampEnricher
impl TransformPlugin for TimestampEnricher
Source§fn transform(
&self,
records: Vec<GeneratedRecord>,
) -> Result<Vec<GeneratedRecord>, SynthError>
fn transform( &self, records: Vec<GeneratedRecord>, ) -> Result<Vec<GeneratedRecord>, SynthError>
Transform a batch of records.
Auto Trait Implementations§
impl Freeze for TimestampEnricher
impl RefUnwindSafe for TimestampEnricher
impl Send for TimestampEnricher
impl Sync for TimestampEnricher
impl Unpin for TimestampEnricher
impl UnwindSafe for TimestampEnricher
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