Add #[schemars(bound = ...)] attribute
Based on https://github.com/GREsau/schemars/pull/162 Co-authored-by: teozkr <teo@nullable.se>
This commit is contained in:
parent
6ada120cd3
commit
104dccca50
7 changed files with 76 additions and 14 deletions
|
@ -9,7 +9,7 @@ pub struct Container<'a> {
|
|||
pub ident: syn::Ident,
|
||||
pub serde_attrs: serde_derive_internals::attr::Container,
|
||||
pub data: Data<'a>,
|
||||
pub generics: &'a syn::Generics,
|
||||
pub generics: syn::Generics,
|
||||
pub original: &'a syn::DeriveInput,
|
||||
pub attrs: Attrs,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue