pub struct DefinitionPackage {
pub schema_version: String,
pub package: PackageMetadata,
pub object_types: BTreeMap<String, ObjectTypeDefinition>,
pub properties: BTreeMap<String, PropertyDefinition>,
pub property_sets: BTreeMap<String, PropertySetDefinition>,
pub definitions: BTreeMap<String, RuleDefinition>,
}Fields§
§schema_version: String§package: PackageMetadata§object_types: BTreeMap<String, ObjectTypeDefinition>§properties: BTreeMap<String, PropertyDefinition>§property_sets: BTreeMap<String, PropertySetDefinition>§definitions: BTreeMap<String, RuleDefinition>Trait Implementations§
Source§impl Clone for DefinitionPackage
impl Clone for DefinitionPackage
Source§fn clone(&self) -> DefinitionPackage
fn clone(&self) -> DefinitionPackage
Returns a copy 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 moreSource§impl Debug for DefinitionPackage
impl Debug for DefinitionPackage
Source§impl<'de> Deserialize<'de> for DefinitionPackage
impl<'de> Deserialize<'de> for DefinitionPackage
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 DefinitionPackage
impl PartialEq for DefinitionPackage
Source§impl Serialize for DefinitionPackage
impl Serialize for DefinitionPackage
impl StructuralPartialEq for DefinitionPackage
Auto Trait Implementations§
impl Freeze for DefinitionPackage
impl RefUnwindSafe for DefinitionPackage
impl Send for DefinitionPackage
impl Sync for DefinitionPackage
impl Unpin for DefinitionPackage
impl UnwindSafe for DefinitionPackage
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