Skip to main content

feldera_types/
postprocess.rs

1//! Configuration describing a postprocessor
2
3use serde::{Deserialize, Serialize};
4use serde_json::Value;
5use utoipa::ToSchema;
6
7/// Configuration for describing a postprocessor
8#[derive(Debug, Deserialize, Clone, Eq, PartialEq, Serialize, ToSchema)]
9pub struct PostprocessorConfig {
10    /// Name of the postprocessor.
11    /// All postprocessors with the same name will perform the same task.
12    pub name: String,
13    /// Arbitrary additional configuration expected by the postprocessor
14    /// encoded as a JSON Value.
15    pub config: Value,
16}