serde_derive::bound

Function with_bound

source
pub fn with_bound(
    cont: &Container<'_>,
    generics: &Generics,
    filter: fn(_: &Field, _: Option<&Variant>) -> bool,
    bound: &Path,
) -> Generics