pub struct ElementData {
pub predefined_categories: Option<Vec<PredefinedCategory>>,
pub multiple: bool,
pub child_list: Option<ChildList>,
pub child_list_uuid: Option<UUID>,
pub mirror_element_uuid: Option<UUID>,
pub fields: JsonMap,
}Expand description
definition of type of data held by Element/field
Fields§
§predefined_categories: Option<Vec<PredefinedCategory>>for elements of type Category, predefined_categories defines the choices
multiple: booltrue if the field can have multiple values (labels, persons, etc.)
child_list: Option<ChildList>embedded list, for hierarchies
child_list_uuid: Option<UUID>uuid of child list, for hierarchies
mirror_element_uuid: Option<UUID>mirror element
fields: JsonMapcatch-all for all other fields
Trait Implementations§
Source§impl Debug for ElementData
impl Debug for ElementData
Source§impl<'de> Deserialize<'de> for ElementData
impl<'de> Deserialize<'de> for ElementData
Source§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
Source§impl PartialEq for ElementData
impl PartialEq for ElementData
Source§impl Serialize for ElementData
impl Serialize for ElementData
impl StructuralPartialEq for ElementData
Auto Trait Implementations§
impl Freeze for ElementData
impl RefUnwindSafe for ElementData
impl Send for ElementData
impl Sync for ElementData
impl Unpin for ElementData
impl UnwindSafe for ElementData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more