pub enum SubOptionListItem {
OptionGroup(Box<OptionGroup>),
Description(Box<Description>),
}Variants§
OptionGroup(Box<OptionGroup>)
Description(Box<Description>)
Trait Implementations§
Source§impl Clone for SubOptionListItem
impl Clone for SubOptionListItem
Source§fn clone(&self) -> SubOptionListItem
fn clone(&self) -> SubOptionListItem
Returns a duplicate of the value. Read more
1.0.0 · 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 SubOptionListItem
impl Debug for SubOptionListItem
Source§impl From<Description> for SubOptionListItem
impl From<Description> for SubOptionListItem
Source§fn from(inner: Description) -> Self
fn from(inner: Description) -> Self
Converts to this type from the input type.
Source§impl From<OptionGroup> for SubOptionListItem
impl From<OptionGroup> for SubOptionListItem
Source§fn from(inner: OptionGroup) -> Self
fn from(inner: OptionGroup) -> Self
Converts to this type from the input type.
Source§impl HasChildren<SubOptionListItem> for OptionListItem
impl HasChildren<SubOptionListItem> for OptionListItem
fn with_children(children: Vec<SubOptionListItem>) -> OptionListItem
fn children(&self) -> &Vec<SubOptionListItem>
fn children_mut(&mut self) -> &mut Vec<SubOptionListItem>
fn append_child<R: Into<C>>(&mut self, child: R)
fn append_children<R: Into<C> + Clone>(&mut self, more: &[R])
Source§impl JsonSchema for SubOptionListItem
impl JsonSchema for SubOptionListItem
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 moreSource§impl PartialEq for SubOptionListItem
impl PartialEq for SubOptionListItem
Source§impl Serialize for SubOptionListItem
impl Serialize for SubOptionListItem
impl StructuralPartialEq for SubOptionListItem
Auto Trait Implementations§
impl Freeze for SubOptionListItem
impl RefUnwindSafe for SubOptionListItem
impl Send for SubOptionListItem
impl Sync for SubOptionListItem
impl Unpin for SubOptionListItem
impl UnwindSafe for SubOptionListItem
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