gesha-rust-types 0.0.7

Rust types for Gesha proejct
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::EnumVariantName;
use indexmap::IndexMap;

#[derive(Clone, Debug, PartialEq)]
pub struct MediaTypeDef {
    /// e.g. "ApplicationJson" -> "application/json"
    pub translator: IndexMap<EnumVariantName, String>,
}

impl MediaTypeDef {
    pub fn symbol_name(&self) -> &str {
        "MediaType"
    }
}