tembo_api_client/models/
replace_path_regex_config.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct ReplacePathRegexConfig {
16 #[serde(rename = "config")]
17 pub config: Box<models::ReplacePathRegexConfigType>,
18 #[serde(rename = "name")]
19 pub name: String,
20}
21
22impl ReplacePathRegexConfig {
23 pub fn new(config: models::ReplacePathRegexConfigType, name: String) -> ReplacePathRegexConfig {
24 ReplacePathRegexConfig {
25 config: Box::new(config),
26 name,
27 }
28 }
29}