Debian Codegraph @

src/json_schema_impls/mod.rs

raw symbols SCIP
1 macro_rules! inline_schemarust-analyzer cargo schemars 1.2.2 json_schema_impls/inline_schema! {
2 () => {
3 fn inline_schema() -> bool {
4 true
5 }
6 };
7 }
8
9 macro_rules! forward_implrust-analyzer cargo schemars 1.2.2 json_schema_impls/forward_impl! {
10 (($($impl:tt)+) => $target:ty) => {
11 impl $($impl)+ {
12 fn inline_schema() -> bool {
13 <$target as $crate::JsonSchema>::inline_schema()
14 }
15
16 fn schema_name() -> alloc::borrow::Cow<'static, str> {
17 <$target as $crate::JsonSchema>::schema_name()
18 }
19
20 fn schema_id() -> alloc::borrow::Cow<'static, str> {
21 <$target as $crate::JsonSchema>::schema_id()
22 }
23
24 fn json_schema(generator: &mut $crate::SchemaGenerator) -> $crate::Schema {
25 <$target as $crate::JsonSchema>::json_schema(generator)
26 }
27
28 fn _schemars_private_non_optional_json_schema(generator: &mut $crate::SchemaGenerator) -> $crate::Schema {
29 #[allow(clippy::used_underscore_items)]
30 <$target as $crate::JsonSchema>::_schemars_private_non_optional_json_schema(generator)
31 }
32
33 fn _schemars_private_is_option() -> bool {
34 #[allow(clippy::used_underscore_items)]
35 <$target as $crate::JsonSchema>::_schemars_private_is_option()
36 }
37 }
38 };
39 ($ty:ty => $target:ty) => {
40 forward_impl!(($crate::JsonSchema for $ty) => $target);
41 };
42 }
43
44 mod arrayrust-analyzer cargo schemars 1.2.2 json_schema_impls/array/;
45 mod corerust-analyzer cargo schemars 1.2.2 json_schema_impls/core/;
46 mod mapsrust-analyzer cargo schemars 1.2.2 json_schema_impls/maps/;
47 mod nonzerorust-analyzer cargo schemars 1.2.2 json_schema_impls/nonzero/;
48 mod primitivesrust-analyzer cargo schemars 1.2.2 json_schema_impls/primitives/;
49 mod sequencesrust-analyzer cargo schemars 1.2.2 json_schema_impls/sequences/;
50 mod serdejsonrust-analyzer cargo schemars 1.2.2 json_schema_impls/serdejson/;
51 mod std_timerust-analyzer cargo schemars 1.2.2 json_schema_impls/std_time/;
52 mod tuplerust-analyzer cargo schemars 1.2.2 json_schema_impls/tuple/;
53 mod wrapperrust-analyzer cargo schemars 1.2.2 json_schema_impls/wrapper/;
54
55 mod atomicrust-analyzer cargo schemars 1.2.2 json_schema_impls/atomic/;
56
57 #[cfg(feature = "std")]
58 mod ffirust-analyzer cargo schemars 1.2.2 json_schema_impls/ffi/;
59
60 #[cfg(feature = "arrayvec07")]
61 mod arrayvec07rust-analyzer cargo schemars 1.2.2 json_schema_impls/arrayvec07/;
62
63 #[cfg(feature = "bytes1")]
64 mod bytes1rust-analyzer cargo schemars 1.2.2 json_schema_impls/bytes1/;
65
66 #[cfg(feature = "chrono04")]
67 mod chrono04rust-analyzer cargo schemars 1.2.2 json_schema_impls/chrono04/;
68
69 #[cfg(any(feature = "rust_decimal1", feature = "bigdecimal04"))]
70 mod decimalrust-analyzer cargo schemars 1.2.2 json_schema_impls/decimal/;
71
72 #[cfg(feature = "either1")]
73 mod either1rust-analyzer cargo schemars 1.2.2 json_schema_impls/either1/;
74
75 #[cfg(feature = "indexmap2")]
76 mod indexmap2rust-analyzer cargo schemars 1.2.2 json_schema_impls/indexmap2/;
77
78 #[cfg(feature = "jiff02")]
79 mod jiff02rust-analyzer cargo schemars 1.2.2 json_schema_impls/jiff02/;
80
81 #[cfg(feature = "semver1")]
82 mod semver1rust-analyzer cargo schemars 1.2.2 json_schema_impls/semver1/;
83
84 #[cfg(feature = "smallvec1")]
85 forward_implrust-analyzer cargo schemars 1.2.2 json_schema_impls/forward_impl!!((<A: smallvec1rust-analyzer cargo smallvec 1.15.2 crate/::Arrayrust-analyzer cargo smallvec 1.15.2 Array#> craterust-analyzer cargo schemars 1.2.2 crate/::JsonSchemarust-analyzer cargo schemars 1.2.2 JsonSchema# for smallvec1rust-analyzer cargo smallvec 1.15.2 crate/::SmallVecrust-analyzer cargo smallvec 1.15.2 SmallVec#<A> where A::Itemrust-analyzer cargo smallvec 1.15.2 Array#Item#: craterust-analyzer cargo schemars 1.2.2 crate/::JsonSchemarust-analyzer cargo schemars 1.2.2 JsonSchema#) => allocrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc crate/::vecrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc vec/::Vecrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc vec/Vec#<A::Itemrust-analyzer cargo smallvec 1.15.2 Array#Item#>);
86
87 #[cfg(feature = "smol_str02")]
88 forward_implrust-analyzer cargo schemars 1.2.2 json_schema_impls/forward_impl!!(smol_str02::SmolStr => alloc::string::String);
89
90 #[cfg(feature = "smol_str03")]
91 forward_implrust-analyzer cargo schemars 1.2.2 json_schema_impls/forward_impl!!(smol_str03rust-analyzer cargo smol_str 0.3.2 crate/::SmolStrrust-analyzer cargo smol_str 0.3.2 SmolStr# => allocrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc crate/::stringrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc string/::Stringrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc string/String#);
92
93 #[cfg(feature = "url2")]
94 mod url2rust-analyzer cargo schemars 1.2.2 json_schema_impls/url2/;
95
96 #[cfg(feature = "uuid1")]
97 mod uuid1rust-analyzer cargo schemars 1.2.2 json_schema_impls/uuid1/;