postwoman/src/model/extractor.rs

13 lines
264 B
Rust
Raw Normal View History

2024-10-19 18:02:04 +02:00
#[derive(Debug, Clone, Default, serde::Serialize, serde::Deserialize)]
#[serde(tag = "type", rename_all = "lowercase")]
pub enum Extractor {
#[default]
Debug,
Body,
Discard,
// JQL { query: String },
// Regex { pattern: String },
Header { key: String },
}