pub struct SchemaMetadataDocument {
pub schema_metadata: SchemaMetadataCatalog,
}Expand description
The committed schema_metadata artifact: a wrapper whose single
schema_metadata field maps each resource type name to its metadata.
This is the authoritative typed model consumed by the schema validator and
both rule engines. It is lossless: every field the artifact carries has a
typed home, and any field the current code does not model is preserved
verbatim in the per-level additional extension maps, so a future artifact
deserializes and reserializes without code changes.
Fields§
§schema_metadata: SchemaMetadataCatalogTrait Implementations§
Source§impl Clone for SchemaMetadataDocument
impl Clone for SchemaMetadataDocument
Source§fn clone(&self) -> SchemaMetadataDocument
fn clone(&self) -> SchemaMetadataDocument
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 SchemaMetadataDocument
impl Debug for SchemaMetadataDocument
Source§impl Default for SchemaMetadataDocument
impl Default for SchemaMetadataDocument
Source§fn default() -> SchemaMetadataDocument
fn default() -> SchemaMetadataDocument
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SchemaMetadataDocument
impl<'de> Deserialize<'de> for SchemaMetadataDocument
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 SchemaMetadataDocument
impl RefUnwindSafe for SchemaMetadataDocument
impl Send for SchemaMetadataDocument
impl Sync for SchemaMetadataDocument
impl Unpin for SchemaMetadataDocument
impl UnsafeUnpin for SchemaMetadataDocument
impl UnwindSafe for SchemaMetadataDocument
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