pub enum SubOption {
OptionString(Box<OptionString>),
OptionArgument(Box<OptionArgument>),
}Variants§
OptionString(Box<OptionString>)
OptionArgument(Box<OptionArgument>)
Trait Implementations§
Source§impl From<OptionArgument> for SubOption
impl From<OptionArgument> for SubOption
Source§fn from(inner: OptionArgument) -> Self
fn from(inner: OptionArgument) -> Self
Converts to this type from the input type.
Source§impl From<OptionString> for SubOption
impl From<OptionString> for SubOption
Source§fn from(inner: OptionString) -> Self
fn from(inner: OptionString) -> Self
Converts to this type from the input type.
Source§impl HasChildren<SubOption> for Option_
impl HasChildren<SubOption> for Option_
Source§impl JsonSchema for SubOption
impl JsonSchema for SubOption
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 SubOption
Auto Trait Implementations§
impl Freeze for SubOption
impl RefUnwindSafe for SubOption
impl Send for SubOption
impl Sync for SubOption
impl Unpin for SubOption
impl UnwindSafe for SubOption
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