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<EntryCodes>,
pub sai: Option<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<EntryCodes>
sai: Option<String>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Attribute
impl<'de> Deserialize<'de> for Attribute
sourcefn 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
Auto Trait Implementations
impl RefUnwindSafe for Attribute
impl Send for Attribute
impl Sync for Attribute
impl Unpin for Attribute
impl UnwindSafe for Attribute
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more