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> Freeze for GenerateSchema<'a>
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