gesha_rust_types/
serde_attribute.rs

1use std::borrow::Borrow;
2
3#[derive(Clone, Debug, Hash, Eq, PartialEq)]
4pub enum SerdeAttribute {
5    Untagged,
6}
7
8impl Borrow<str> for SerdeAttribute {
9    fn borrow(&self) -> &str {
10        match self {
11            SerdeAttribute::Untagged => "untagged",
12        }
13    }
14}