Skip to main content

agentcat_api/models/
validation_error_value.rs

1/*
2 * AgentCat API
3 *
4 * API for AgentCat application
5 *
6 * The version of the OpenAPI document: v1
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
15#[serde(untagged)]
16pub enum ValidationErrorValue {
17    String(String),
18    ArrayVecString(Vec<String>),
19}
20
21impl Default for ValidationErrorValue {
22    fn default() -> Self {
23        Self::String(Default::default())
24    }
25}
26