pub struct FieldMappingTransform {
pub config: FieldMappingConfig,
/* private fields */
}Fields§
§config: FieldMappingConfigImplementations§
Source§impl FieldMappingTransform
impl FieldMappingTransform
pub fn new(config: FieldMappingConfig) -> Result<Self>
Trait Implementations§
Source§impl Clone for FieldMappingTransform
impl Clone for FieldMappingTransform
Source§fn clone(&self) -> FieldMappingTransform
fn clone(&self) -> FieldMappingTransform
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 FieldMappingTransform
impl Debug for FieldMappingTransform
Source§impl PartialEq for FieldMappingTransform
impl PartialEq for FieldMappingTransform
Source§fn eq(&self, other: &FieldMappingTransform) -> bool
fn eq(&self, other: &FieldMappingTransform) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FieldMappingTransform
Source§impl Transform for FieldMappingTransform
impl Transform for FieldMappingTransform
Source§fn apply<'life0, 'life1, 'async_trait>(
&'life0 self,
event: &'life1 mut Event,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn apply<'life0, 'life1, 'async_trait>(
&'life0 self,
event: &'life1 mut Event,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Apply transform in-place; return true to keep event, false to drop it.
fn name(&self) -> &str
Auto Trait Implementations§
impl Freeze for FieldMappingTransform
impl RefUnwindSafe for FieldMappingTransform
impl Send for FieldMappingTransform
impl Sync for FieldMappingTransform
impl Unpin for FieldMappingTransform
impl UnsafeUnpin for FieldMappingTransform
impl UnwindSafe for FieldMappingTransform
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