MCPcopy Create free account

hub / github.com/GREsau/schemars / functions

Functions543 in github.com/GREsau/schemars

Methodnew_ref
(reference: String)
schemars/src/schema.rs:130
Functionnew_unit_enum_variant
(variant: &str)
schemars/src/_private/mod.rs:201
Functionnewtype
()
schemars/tests/integration/structs.rs:37
Functionno_variants
()
schemars/tests/integration/enums_ref_variants.rs:293
Functionno_variants
()
schemars/tests/integration/enums.rs:332
Functionnonzero
()
schemars/tests/integration/std_types.rs:25
Functionnormal
()
schemars/tests/integration/structs.rs:21
Functionopenapi3
()
schemars/tests/integration/settings.rs:52
Methodopenapi3
()
schemars/src/generate.rs:121
Functionoption
()
schemars/tests/integration/std_types.rs:11
Functionos_strings
()
schemars/tests/integration/std_types.rs:136
Methodparse
(input: syn::parse::ParseStream)
schemars_derive/src/attr/custom_meta.rs:38
Functionpaths
()
schemars/tests/integration/std_types.rs:150
Functionphantom_data
()
schemars/tests/integration/std_types.rs:186
Methodpopulate
( &mut self, schemars_cx: &mut AttrCtxt, validate_cx: &mut AttrCtxt, garde_cx:
schemars_derive/src/attr/validation.rs:136
Functionproperty_order
()
schemars/tests/integration/structs.rs:109
Functionranges
()
schemars/tests/integration/std_types.rs:175
Functionremove_format
(schema: &mut Schema)
schemars/examples/schemars_attrs.rs:27
Functionremove_format
(schema: &mut Schema)
docs/_includes/examples/schemars_attrs.rs:27
Functionremove_minimum_and_default
(schema: &mut Schema)
schemars/tests/integration/attr_order.rs:39
Functionrenamed
()
schemars/tests/integration/enums_ref_variants.rs:314
Functionrenamed
()
schemars/tests/integration/enums.rs:352
Functionrenamed_fields
()
schemars/tests/integration/structs.rs:64
Functionrestrict_formats
()
schemars/src/transform.rs:713
Functionresult
()
schemars/tests/integration/std_types.rs:18
Methodroot_schema_for
Generates a JSON Schema for the type `T`. If `T`'s schema depends on any [non-inlined](JsonSchema::inline_schema) schemas, then this method will incl
schemars/src/generate.rs:450
Methodroot_schema_for_value
Generates a JSON Schema for the given example value. If the value implements [`JsonSchema`], then prefer using the [`root_schema_for()`](Self::root_s
schemars/src/generate.rs:510
Functionsame_name
()
schemars/tests/integration/same_name.rs:39
Functionschema_for
(base_settings: &SchemaSettings, contract: Contract)
schemars/tests/integration/test_helper.rs:371
Functionschema_for_atomics
()
schemars/src/json_schema_impls/atomic.rs:43
Methodschema_id
()
schemars/src/lib.rs:167
Methodschema_id
()
schemars/src/schema.rs:475
Methodschema_id
()
schemars/src/json_schema_impls/url2.rs:13
Methodschema_id
()
schemars/src/json_schema_impls/either1.rs:14
Methodschema_id
()
schemars/src/json_schema_impls/ffi.rs:13
Methodschema_id
()
schemars/src/json_schema_impls/maps.rs:29
Methodschema_id
()
schemars/src/json_schema_impls/std_time.rs:10
Methodschema_id
()
schemars/src/json_schema_impls/array.rs:14
Methodschema_id
()
schemars/src/json_schema_impls/semver1.rs:11
Methodschema_id
()
schemars/src/json_schema_impls/primitives.rs:126
Methodschema_id
()
schemars/src/json_schema_impls/uuid1.rs:13
Methodschema_id
()
schemars/src/json_schema_impls/chrono04.rs:13
Methodschema_id
()
schemars/src/json_schema_impls/core.rs:15
Methodschema_id
()
schemars/src/json_schema_impls/bytes1.rs:12
Methodschema_name
()
schemars/src/schema.rs:471
Methodschema_name
()
schemars/src/json_schema_impls/serdejson.rs:11
Methodschema_name
()
schemars/src/json_schema_impls/url2.rs:9
Methodschema_name
()
schemars/src/json_schema_impls/either1.rs:10
Methodschema_name
()
schemars/src/json_schema_impls/ffi.rs:9
Methodschema_name
()
schemars/src/json_schema_impls/maps.rs:21
Methodschema_name
()
schemars/src/json_schema_impls/std_time.rs:6
Methodschema_name
()
schemars/src/json_schema_impls/arrayvec07.rs:16
Methodschema_name
()
schemars/src/json_schema_impls/array.rs:10
Methodschema_name
()
schemars/src/json_schema_impls/semver1.rs:7
Methodschema_name
()
schemars/src/json_schema_impls/primitives.rs:122
Methodschema_name
()
schemars/src/json_schema_impls/uuid1.rs:9
Methodschema_name
()
schemars/src/json_schema_impls/chrono04.rs:9
Methodschema_name
()
schemars/src/json_schema_impls/core.rs:11
Methodschema_name
()
schemars/src/json_schema_impls/bytes1.rs:8
Methodschema_uid
(&self)
schemars/src/generate.rs:620
Functionschemars_attrs
()
schemars/tests/integration/garde.rs:129
Functionschemars_attrs
()
schemars/tests/integration/validator.rs:133
Functionsemver
()
schemars/tests/integration/semver.rs:5
Methodser_schema_validate
(&self, instance: &Value)
schemars/tests/integration/test_helper.rs:154
Functionserialize
(value: &T, ser: S)
schemars/tests/integration/schema_with.rs:14
Functionserialize
(ser: S)
schemars/tests/integration/enums_ref_variants.rs:206
Functionserialize
(value: &MyStruct2, ser: S)
schemars/tests/integration/default.rs:33
Functionserialize
(ser: S)
schemars/tests/integration/enums.rs:213
Functionserialize
(value: &T, serializer: S)
schemars/examples/custom_serialization.rs:36
Functionserialize
(value: &T, serializer: S)
docs/_includes/examples_v0/custom_serialization.rs:37
Functionserialize
(value: &T, serializer: S)
docs/_includes/examples/custom_serialization.rs:36
Methodserialize_field
(&mut self, _value: &T)
schemars/src/ser.rs:258
Methodserialize_key
(&mut self, key: &T)
schemars/src/ser.rs:384
Methodserialize_newtype_struct
( self, name: &'static str, value: &T, )
schemars/src/ser.rs:151
Methodserialize_newtype_variant
( self, _name: &'static str, _variant_index: u32, _variant: &'static str,
schemars/src/ser.rs:169
Methodserialize_schema_property
( map: &mut S::SerializeMap, key: &str, value: &Value,
schemars/src/schema.rs:534
Methodserialize_some
(self, value: &T)
schemars/src/ser.rs:124
Methodserialize_struct
( self, name: &'static str, _len: usize, )
schemars/src/ser.rs:229
Methodserialize_struct_variant
( self, _name: &'static str, _variant_index: u32, _variant: &'static str,
schemars/src/ser.rs:243
Methodserialize_tuple
(self, len: usize)
schemars/src/ser.rs:189
Methodserialize_tuple_struct
( self, name: &'static str, len: usize, )
schemars/src/ser.rs:197
Methodserialize_tuple_variant
( self, _name: &'static str, _variant_index: u32, _variant: &'static str,
schemars/src/ser.rs:210
Methodserialize_unit
(self)
schemars/src/ser.rs:120
Methodserialize_unit_struct
(self, _name: &'static str)
schemars/src/ser.rs:138
Methodserialize_unit_variant
( self, _name: &'static str, _variant_index: u32, _variant: &'static str,
schemars/src/ser.rs:142
Methodserialize_value
(&mut self, value: &T)
schemars/src/ser.rs:400
Functionsimple
()
schemars/tests/integration/schema_name.rs:16
Functionsimple
()
schemars/tests/integration/remote_derive.rs:33
Functionsix
()
schemars/tests/integration/default.rs:65
Functionskip_enum_variants
()
schemars/tests/integration/skip.rs:35
Functionskip_struct_field
()
schemars/tests/integration/skip.rs:12
Functionsmallvec
()
schemars/tests/integration/smallvec.rs:5
Functionsmol_str02
()
schemars/tests/integration/smol_str.rs:5
Functionsmol_str03
()
schemars/tests/integration/smol_str.rs:14
Functionsocket_addr
()
schemars/tests/integration/std_types.rs:74
Functionstruct_allow_unknown_fields
()
schemars/tests/integration/contract.rs:45
Functionstruct_deny_unknown_fields
()
schemars/tests/integration/contract.rs:27
Functionstruct_normal
()
schemars/tests/integration/inline_subschemas.rs:15
Functionstruct_recursive
()
schemars/tests/integration/inline_subschemas.rs:35
Methodsubschema_for
Generates a JSON Schema for the type `T`, and returns either the schema itself or a `$ref` schema referencing `T`'s schema. If `T` is not [inlined](J
schemars/src/generate.rs:309
← previousnext →401–500 of 543, ranked by callers