pub enum GenerateSchema<'a> {
Yes {
feature: Option<&'a str>,
},
No,
}
Expand description
Whether run
should generate an impl of schemars::JsonSchema
for the type or not.
Variants§
Trait Implementations§
source§impl<'a> Clone for GenerateSchema<'a>
impl<'a> Clone for GenerateSchema<'a>
source§fn clone(&self) -> GenerateSchema<'a>
fn clone(&self) -> GenerateSchema<'a>
Returns a copy 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 more