pub enum SubDLItem {
Term(Box<Term>),
Classifier(Box<Classifier>),
Definition(Box<Definition>),
}Variants§
Trait Implementations§
Source§impl From<Classifier> for SubDLItem
impl From<Classifier> for SubDLItem
Source§fn from(inner: Classifier) -> Self
fn from(inner: Classifier) -> Self
Converts to this type from the input type.
Source§impl From<Definition> for SubDLItem
impl From<Definition> for SubDLItem
Source§fn from(inner: Definition) -> Self
fn from(inner: Definition) -> Self
Converts to this type from the input type.
Source§impl HasChildren<SubDLItem> for DefinitionListItem
impl HasChildren<SubDLItem> for DefinitionListItem
Source§impl JsonSchema for SubDLItem
impl JsonSchema for SubDLItem
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreimpl StructuralPartialEq for SubDLItem
Auto Trait Implementations§
impl Freeze for SubDLItem
impl RefUnwindSafe for SubDLItem
impl Send for SubDLItem
impl Sync for SubDLItem
impl Unpin for SubDLItem
impl UnwindSafe for SubDLItem
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