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 moresource§impl<'a> Debug for GenerateSchema<'a>
impl<'a> Debug for GenerateSchema<'a>
impl<'a> Copy for GenerateSchema<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for GenerateSchema<'a>
impl<'a> Send for GenerateSchema<'a>
impl<'a> Sync for GenerateSchema<'a>
impl<'a> Unpin for GenerateSchema<'a>
impl<'a> UnwindSafe for GenerateSchema<'a>
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