Struct oca_rust::state::attribute::Attribute [−][src]
pub struct Attribute {
pub name: String,
pub attr_type: AttributeType,
pub is_pii: bool,
pub translations: HashMap<Language, AttributeTranslation>,
pub encoding: Option<Encoding>,
pub format: Option<String>,
pub unit: Option<String>,
pub entry_codes: Option<Vec<String>>,
}
Fields
name: String
attr_type: AttributeType
is_pii: bool
translations: HashMap<Language, AttributeTranslation>
encoding: Option<Encoding>
format: Option<String>
unit: Option<String>
entry_codes: Option<Vec<String>>
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more