pub struct FieldTemplate {
pub name: String,
pub spec: Map<String, Value>,
pub children: Vec<FieldTemplate>,
}Expand description
One data-independent field definition.
Fields§
§name: StringProperty name relative to its parent group.
spec: Map<String, Value>Composed field settings without child properties.
children: Vec<FieldTemplate>Child field definitions, stored once for repeated groups.
Trait Implementations§
Source§impl Clone for FieldTemplate
impl Clone for FieldTemplate
Source§fn clone(&self) -> FieldTemplate
fn clone(&self) -> FieldTemplate
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 FieldTemplate
impl Debug for FieldTemplate
Source§impl<'de> Deserialize<'de> for FieldTemplate
impl<'de> Deserialize<'de> for FieldTemplate
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 FieldTemplate
impl PartialEq for FieldTemplate
Source§impl Serialize for FieldTemplate
impl Serialize for FieldTemplate
impl StructuralPartialEq for FieldTemplate
Auto Trait Implementations§
impl Freeze for FieldTemplate
impl RefUnwindSafe for FieldTemplate
impl Send for FieldTemplate
impl Sync for FieldTemplate
impl Unpin for FieldTemplate
impl UnsafeUnpin for FieldTemplate
impl UnwindSafe for FieldTemplate
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