pub struct RegistryFile {
pub ontology: Option<OntologyInfo>,
pub generated: Option<GeneratedInfo>,
pub entries: Vec<RegistryEntry>,
pub statistics: Option<Value>,
}Expand description
Known Values Extension 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<RegistryFile, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RegistryFile, <__D as Deserializer<'de>>::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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more