pub enum DataSchema {
Tuple(Vec<(String, ElementSchema)>),
Multimodal(Vec<(String, ElementSchema)>),
}Variants§
Tuple(Vec<(String, ElementSchema)>)
List of named elements
Multimodal(Vec<(String, ElementSchema)>)
List of named variants that can be used 0 or more times in a multimodal data-value
Trait Implementations§
Source§impl Clone for DataSchema
impl Clone for DataSchema
Source§fn clone(&self) -> DataSchema
fn clone(&self) -> DataSchema
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DataSchema
impl RefUnwindSafe for DataSchema
impl Send for DataSchema
impl Sync for DataSchema
impl Unpin for DataSchema
impl UnwindSafe for DataSchema
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