icu_provider_source/cldr_serde/
directionality.rsuse serde::Deserialize;
use std::collections::HashMap;
use tinystr::TinyAsciiStr;
#[derive(PartialEq, Debug, Deserialize)]
pub(crate) enum Rtl {
#[serde(rename = "YES")]
Yes,
#[serde(rename = "NO")]
No,
#[serde(rename = "UNKNOWN")]
Unknown,
}
#[derive(PartialEq, Debug, Deserialize)]
pub(crate) struct Metadata {
pub(crate) rtl: Rtl,
}
#[derive(PartialEq, Debug, Deserialize)]
pub(crate) struct Resource {
#[serde(rename = "scriptMetadata")]
pub(crate) script_metadata: HashMap<TinyAsciiStr<4>, Metadata>,
}