pub struct PreprocessorConfig {
pub name: String,
pub message_oriented: bool,
pub config: Value,
}Expand description
Configuration for describing a preprocessor
Fields§
§name: StringName of the preprocessor. All preprocessors with the same name will perform the same task.
message_oriented: boolTrue if the preprocessor is message-oriented: true if each preprocessor output record corresponds to a whole number of of parser records.
config: ValueArbitrary additional configuration.
Trait Implementations§
Source§impl Clone for PreprocessorConfig
impl Clone for PreprocessorConfig
Source§fn clone(&self) -> PreprocessorConfig
fn clone(&self) -> PreprocessorConfig
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 PreprocessorConfig
impl Debug for PreprocessorConfig
Source§impl<'de> Deserialize<'de> for PreprocessorConfig
impl<'de> Deserialize<'de> for PreprocessorConfig
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
Source§impl PartialEq for PreprocessorConfig
impl PartialEq for PreprocessorConfig
Source§impl Serialize for PreprocessorConfig
impl Serialize for PreprocessorConfig
impl Eq for PreprocessorConfig
impl StructuralPartialEq for PreprocessorConfig
Auto Trait Implementations§
impl Freeze for PreprocessorConfig
impl RefUnwindSafe for PreprocessorConfig
impl Send for PreprocessorConfig
impl Sync for PreprocessorConfig
impl Unpin for PreprocessorConfig
impl UnsafeUnpin for PreprocessorConfig
impl UnwindSafe for PreprocessorConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.