pub struct FtmSchema {
pub label: Option<String>,
pub plural: Option<String>,
pub description: Option<String>,
pub extends: Option<Vec<String>>,
pub abstract_: Option<bool>,
pub matchable: Option<bool>,
pub featured: Option<Vec<String>>,
pub required: Option<Vec<String>>,
pub caption: Option<Vec<String>>,
pub properties: HashMap<String, FtmProperty>,
pub _extra: HashMap<String, Value>,
}Expand description
FTM schema definition from YAML
Fields§
§label: Option<String>§plural: Option<String>§description: Option<String>§extends: Option<Vec<String>>§abstract_: Option<bool>§matchable: Option<bool>§featured: Option<Vec<String>>§required: Option<Vec<String>>§caption: Option<Vec<String>>§properties: HashMap<String, FtmProperty>§_extra: HashMap<String, Value>Trait Implementations§
Source§impl<'de> Deserialize<'de> for FtmSchema
impl<'de> Deserialize<'de> for FtmSchema
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 FtmSchema
impl RefUnwindSafe for FtmSchema
impl Send for FtmSchema
impl Sync for FtmSchema
impl Unpin for FtmSchema
impl UnsafeUnpin for FtmSchema
impl UnwindSafe for FtmSchema
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