pub struct VocabularyElement {
pub type: String,
pub element_list: Vec<VocabularyElementList>,
}Expand description
Vocabularies mapping IDs to types and attributes.
Fields§
§type: StringType of the vocabulary element
element_list: Vec<VocabularyElementList>List of attributes and mappings
Trait Implementations§
Source§impl Clone for VocabularyElement
impl Clone for VocabularyElement
Source§fn clone(&self) -> VocabularyElement
fn clone(&self) -> VocabularyElement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VocabularyElement
impl Debug for VocabularyElement
Source§impl<'de> Deserialize<'de> for VocabularyElement
impl<'de> Deserialize<'de> for VocabularyElement
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
Auto Trait Implementations§
impl Freeze for VocabularyElement
impl RefUnwindSafe for VocabularyElement
impl Send for VocabularyElement
impl Sync for VocabularyElement
impl Unpin for VocabularyElement
impl UnsafeUnpin for VocabularyElement
impl UnwindSafe for VocabularyElement
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