tembo_api_client/models/
replace_path_regex_config.rsuse crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ReplacePathRegexConfig {
#[serde(rename = "config")]
pub config: Box<models::ReplacePathRegexConfigType>,
#[serde(rename = "name")]
pub name: String,
}
impl ReplacePathRegexConfig {
pub fn new(config: models::ReplacePathRegexConfigType, name: String) -> ReplacePathRegexConfig {
ReplacePathRegexConfig {
config: Box::new(config),
name,
}
}
}