pub struct RegistryFile {
pub ontology: Option<OntologyInfo>,
pub generated: Option<GeneratedInfo>,
pub entries: Vec<RegistryEntry>,
pub statistics: Option<Value>,
}Expand description
Root structure of a known values JSON registry file.
Fields§
§ontology: Option<OntologyInfo>Metadata about this registry.
generated: Option<GeneratedInfo>Information about how this file was generated.
entries: Vec<RegistryEntry>The known value entries in this registry.
statistics: Option<Value>Statistics about this registry (ignored during parsing).
Trait Implementations§
Source§impl Debug for RegistryFile
impl Debug for RegistryFile
Source§impl<'de> Deserialize<'de> for RegistryFile
impl<'de> Deserialize<'de> for RegistryFile
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 RegistryFile
impl RefUnwindSafe for RegistryFile
impl Send for RegistryFile
impl Sync for RegistryFile
impl Unpin for RegistryFile
impl UnwindSafe for RegistryFile
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