pub struct RegistryEntry {
pub codepoint: u64,
pub name: String,
pub entry_type: Option<String>,
pub uri: Option<String>,
pub description: Option<String>,
}Expand description
Known Values Extension A single entry in a known values JSON registry file.
Fields§
§codepoint: u64The unique numeric identifier for this known value.
name: StringThe canonical string name for this known value.
entry_type: Option<String>The type of entry (e.g., “property”, “class”, “value”).
uri: Option<String>An optional URI reference for this known value.
description: Option<String>An optional human-readable description.
Trait Implementations§
Source§impl Debug for RegistryEntry
impl Debug for RegistryEntry
Source§impl<'de> Deserialize<'de> for RegistryEntry
impl<'de> Deserialize<'de> for RegistryEntry
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<RegistryEntry, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RegistryEntry, <__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 RegistryEntry
impl RefUnwindSafe for RegistryEntry
impl Send for RegistryEntry
impl Sync for RegistryEntry
impl Unpin for RegistryEntry
impl UnwindSafe for RegistryEntry
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