Debian Codegraph @

src/json_schema_impls/url2.rs

raw symbols SCIP
1 use craterust-analyzer cargo schemars 1.2.2 crate/::SchemaGeneratorrust-analyzer cargo schemars 1.2.2 generate/SchemaGenerator#;
2 use craterust-analyzer cargo schemars 1.2.2 crate/::{json_schemarust-analyzer cargo schemars 1.2.2 macros/json_schema!, JsonSchemarust-analyzer cargo schemars 1.2.2 JsonSchema#, Schemarust-analyzer cargo schemars 1.2.2 schema/Schema#};
3 use allocrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc crate/::borrowrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc borrow/::Cowrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc borrow/Cow#;
4 use url2rust-analyzer cargo url 2.5.8 crate/::Urlrust-analyzer cargo url 2.5.8 Url#;
5
6 impl JsonSchemarust-analyzer cargo schemars 1.2.2 JsonSchema# for Urlrust-analyzer cargo url 2.5.8 Url# {
7 inline_schemarust-analyzer cargo schemars 1.2.2 json_schema_impls/inline_schema!!();
8
9 fn schema_namerust-analyzer cargo schemars 1.2.2 json_schema_impls/url2/impl#[Url][JsonSchema]schema_name().() -> Cowrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc borrow/Cow#<'static, str> {
10 "Url".intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/impl#[T][`Into<U>`]into().()
11 }
12
13 fn schema_idrust-analyzer cargo schemars 1.2.2 json_schema_impls/url2/impl#[Url][JsonSchema]schema_id().() -> Cowrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc borrow/Cow#<'static, str> {
14 "url::Url".intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/impl#[T][`Into<U>`]into().()
15 }
16
17 fn json_schemarust-analyzer cargo schemars 1.2.2 json_schema_impls/url2/impl#[Url][JsonSchema]json_schema().(_: &mut SchemaGeneratorrust-analyzer cargo schemars 1.2.2 generate/SchemaGenerator#) -> Schemarust-analyzer cargo schemars 1.2.2 schema/Schema# {
18 json_schemarust-analyzer cargo schemars 1.2.2 macros/json_schema!!({
19 "type": "string",
20 "format": "uri",
21 })
22 }
23 }