Struct abbau_codegen_quote::KsySchema
source · pub struct KsySchema {
pub meta: MetaSpec,
pub doc: Option<String>,
pub doc_ref: Option<StringOrArray>,
pub params: Vec<ParamSpec, Global>,
pub seq: Vec<Attribute, Global>,
pub instances: BTreeMap<String, Attribute, Global>,
pub types: BTreeMap<String, TypeSpec, Global>,
pub enums: BTreeMap<String, EnumSpec, Global>,
}
Expand description
Definition of a type or file format
Fields§
§meta: MetaSpec
Metadata
doc: Option<String>
Used to give a more detailed description of a user-defined type.
doc_ref: Option<StringOrArray>
Reference to external documentation
params: Vec<ParamSpec, Global>
Generic Parameters
seq: Vec<Attribute, Global>
The sequence of attributes
instances: BTreeMap<String, Attribute, Global>
Named, dynamic attributes
types: BTreeMap<String, TypeSpec, Global>
A sequence of internal types
enums: BTreeMap<String, EnumSpec, Global>
Enums defined by this schema
Trait Implementations§
source§impl<'de> Deserialize<'de> for KsySchema
impl<'de> Deserialize<'de> for KsySchema
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<KsySchema, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<KsySchema, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for KsySchema
impl Send for KsySchema
impl Sync for KsySchema
impl Unpin for KsySchema
impl UnwindSafe for KsySchema
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