1 2 3 4 5 6 7 8
use crate::gen::SchemaGenerator; use crate::schema::*; use crate::JsonSchema; use indexmap::{IndexMap, IndexSet}; use std::collections::{HashMap, HashSet}; forward_impl!((<K, V: JsonSchema, H> JsonSchema for IndexMap<K, V, H>) => HashMap<K, V, H>); forward_impl!((<T: JsonSchema, H> JsonSchema for IndexSet<T, H>) => HashSet<T, H>);