pub struct PreprocessorSection {
pub enabled: bool,
pub template: PreprocessorTemplateSection,
}Expand description
Preprocessing pipeline settings.
Fields§
§enabled: boolGlobal kill switch for all preprocessing.
template: PreprocessorTemplateSectionTrait Implementations§
Source§impl Clone for PreprocessorSection
impl Clone for PreprocessorSection
Source§fn clone(&self) -> PreprocessorSection
fn clone(&self) -> PreprocessorSection
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 Config for PreprocessorSection
impl Config for PreprocessorSection
Source§type Layer = PreprocessorSectionLayer
type Layer = PreprocessorSectionLayer
A layer of
Self (a potentially partial configuration). Read moreSource§fn from_layer(layer: Self::Layer) -> Result<Self, Error>
fn from_layer(layer: Self::Layer) -> Result<Self, Error>
Tries to create
Self from a layer and validates itself. Read moreSource§fn builder() -> Builder<Self>
fn builder() -> Builder<Self>
Convenience builder to configure, load and merge multiple configuration
sources. Sources specified earlier have a higher priority; later
sources only fill in the gaps. After all sources have been loaded, the
default values (usually specified with
#[default = ...]) are merged
(with the lowest priority). Read moreSource§impl Debug for PreprocessorSection
impl Debug for PreprocessorSection
Source§impl<'de> Deserialize<'de> for PreprocessorSection
impl<'de> Deserialize<'de> for PreprocessorSection
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 PreprocessorSection
impl RefUnwindSafe for PreprocessorSection
impl Send for PreprocessorSection
impl Sync for PreprocessorSection
impl Unpin for PreprocessorSection
impl UnsafeUnpin for PreprocessorSection
impl UnwindSafe for PreprocessorSection
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