MCPcopy Create free account

hub / github.com/GREsau/schemars / functions

Functions543 in github.com/GREsau/schemars

↓ 1 callersFunctionenum_ref_variants
(cont: &Container, variant: Option<&Variant>, expr: SchemaExpr)
schemars_derive/src/schema_exprs.rs:513
↓ 1 callersFunctionescape
(text: &str)
schemars/src/_private/regex_syntax.rs:32
↓ 1 callersFunctionescape_into
(text: &str, buf: &mut String)
schemars/src/_private/regex_syntax.rs:38
↓ 1 callersFunctionexpr_for_adjacent_tagged_enum
( cont: &Container, variants: impl Iterator<Item = &'a Variant<'a>>, tag_name: &str, content_n
schemars_derive/src/schema_exprs.rs:394
↓ 1 callersFunctionexpr_for_container
(cont: &Container)
schemars_derive/src/schema_exprs.rs:56
↓ 1 callersFunctionexpr_for_container_with
(cont: &Container, with_attr: &WithAttr)
schemars_derive/src/schema_exprs.rs:165
↓ 1 callersFunctionexpr_for_enum
( cont: &Container, variants: &[Variant], cattrs: &serde_attr::Container, )
schemars_derive/src/schema_exprs.rs:256
↓ 1 callersFunctionexpr_for_external_tagged_enum
( cont: &Container, variants: impl Iterator<Item = &'a Variant<'a>>, deny_unknown_fields: bool, )
schemars_derive/src/schema_exprs.rs:279
↓ 1 callersFunctionexpr_for_internal_tagged_enum
( cont: &Container, variants: impl Iterator<Item = &'a Variant<'a>>, tag_name: &str, deny_unkn
schemars_derive/src/schema_exprs.rs:347
↓ 1 callersFunctionexpr_for_internal_tagged_enum_variant
( cont: &Container, variant: &Variant, deny_unknown_fields: bool, )
schemars_derive/src/schema_exprs.rs:606
↓ 1 callersFunctionexpr_for_newtype_struct
(cont: &Container, field: &Field)
schemars_derive/src/schema_exprs.rs:642
↓ 1 callersFunctionexpr_for_repr
(cont: &Container)
schemars_derive/src/schema_exprs.rs:118
↓ 1 callersFunctionexpr_for_untagged_enum
( cont: &Container, variants: impl Iterator<Item = &'a Variant<'a>>, deny_unknown_fields: bool, )
schemars_derive/src/schema_exprs.rs:375
↓ 1 callersFunctionfield_default_expr
(field: &Field, container_has_default: bool)
schemars_derive/src/schema_exprs.rs:772
↓ 1 callersFunctionfind_trait_bounds
(orig_generics: &'a syn::Generics, cont: &mut Container<'a>)
schemars_derive/src/bound.rs:11
↓ 1 callersFunctionflatten
(schema: &mut Schema, other: Schema)
schemars/src/_private/mod.rs:360
↓ 1 callersFunctionflatten_property
(obj1: &mut Map<String, Value>, key: String, value2: Value)
schemars/src/_private/mod.rs:361
↓ 1 callersFunctionget_doc
(attrs: &[Attribute])
schemars_derive/src/attr/doc.rs:5
↓ 1 callersFunctionget_meta_ident
(meta: &CustomMeta)
schemars_derive/src/attr/schemars_to_serde.rs:173
↓ 1 callersFunctionget_rename_format_type_params
( errors: &Ctxt, rename_format_string: &syn::LitStr, generics: &'a syn::Generics, )
schemars_derive/src/name.rs:5
↓ 1 callersFunctionget_transparent_type
(cont: &'a Container)
schemars_derive/src/lib.rs:181
↓ 1 callersMethodhandle_format
(&mut self, meta: &CustomMeta, format: Format, cx: &AttrCtxt)
schemars_derive/src/attr/validation.rs:225
↓ 1 callersFunctioninner
Non-generic inner function to reduce monomorphization overhead
schemars/src/_private/mod.rs:55
↓ 1 callersFunctioninsert_validation_property
( schema: &mut Schema, required_type: &str, key: &str, value: impl Into<Value>, )
schemars/src/_private/mod.rs:338
↓ 1 callersMethodis_deserialize
(&self)
schemars/src/generate.rs:205
↓ 1 callersFunctionis_meta_character
(c: char)
schemars/src/_private/regex_syntax.rs:48
↓ 1 callersFunctionis_schemars_serde_keyword
(meta: &CustomMeta)
schemars_derive/src/attr/mod.rs:560
↓ 1 callersFunctionjson_pointer_mut
( mut object: &'a mut JsonMap<String, Value>, pointer: &str, create_if_missing: bool, )
schemars/src/generate.rs:625
↓ 1 callersFunctionjson_schema
(_: &mut schemars::SchemaGenerator)
schemars/tests/integration/schema_with.rs:32
↓ 1 callersFunctionneeds_encoding
(byte: u8)
schemars/src/encoding.rs:8
↓ 1 callersFunctionneeds_jsonschema_bound
(field: &Field, variant: Option<&Variant>)
schemars_derive/src/bound.rs:100
↓ 1 callersMethodnew_nested_meta
(&self, metas: Vec<CustomMeta>)
schemars_derive/src/attr/mod.rs:492
↓ 1 callersFunctionnormalise_additional_unevaluated_properties
( schema_obj1: &mut Map<String, Value>, schema_obj2: &Map<String, Value>, )
schemars/src/_private/mod.rs:432
↓ 1 callersFunctionparse_contains
(outer_meta: CustomMeta, cx: &AttrCtxt)
schemars_derive/src/attr/parse_meta.rs:205
↓ 1 callersFunctionparse_extensions
( meta: &CustomMeta, cx: &AttrCtxt, )
schemars_derive/src/attr/parse_meta.rs:100
↓ 1 callersFunctionparse_length_or_range
(outer_meta: &CustomMeta, cx: &AttrCtxt)
schemars_derive/src/attr/parse_meta.rs:108
↓ 1 callersFunctionparse_name_value_lit_str
(meta: CustomMeta, cx: &AttrCtxt)
schemars_derive/src/attr/parse_meta.rs:77
↓ 1 callersFunctionparse_pattern
(meta: &CustomMeta, cx: &AttrCtxt)
schemars_derive/src/attr/parse_meta.rs:146
↓ 1 callersFunctionparse_schemars_regex
(outer_meta: &CustomMeta, cx: &AttrCtxt)
schemars_derive/src/attr/parse_meta.rs:150
↓ 1 callersFunctionparse_validate_regex
(outer_meta: &CustomMeta, cx: &AttrCtxt)
schemars_derive/src/attr/parse_meta.rs:179
↓ 1 callersMethodpointer
(&self, pointer: &str)
schemars/src/schema.rs:310
↓ 1 callersMethodpointer_mut
(&mut self, pointer: &str)
schemars/src/schema.rs:348
↓ 1 callersMethodpopulate
( &mut self, attrs: &[Attribute], schemars_cx: &mut AttrCtxt, serde_cx: &mut A
schemars_derive/src/attr/mod.rs:69
↓ 1 callersFunctionprimitives
()
schemars/tests/integration/test_helper.rs:396
↓ 1 callersMethodprocess_attr
(&mut self, cx: &mut AttrCtxt)
schemars_derive/src/attr/mod.rs:82
↓ 1 callersMethodprocess_meta
( &mut self, meta: CustomMeta, meta_name: &str, cx: &AttrCtxt, )
schemars_derive/src/attr/validation.rs:151
↓ 1 callersMethodprocess_meta
( &mut self, meta: CustomMeta, meta_name: &str, cx: &AttrCtxt, )
schemars_derive/src/attr/mod.rs:86
↓ 1 callersFunctionprocess_serde_variant_attrs
(ctxt: &Ctxt, variants: impl Iterator<Item = &'a mut Variant>)
schemars_derive/src/attr/schemars_to_serde.rs:62
↓ 1 callersFunctionremove_unit_variants
(schema: &mut Schema)
schemars/src/_private/mod.rs:118
↓ 1 callersFunctionschema_for_value
( base_settings: &SchemaSettings, contract: Contract, value: impl Serialize, )
schemars/tests/integration/test_helper.rs:379
↓ 1 callersMethodschema_str
(self)
schemars_derive/src/attr/validation.rs:34
↓ 1 callersMethodserialize_element
(&mut self, value: &T)
schemars/src/ser.rs:290
↓ 1 callersMethodserialize_map
(self, _len: Option<usize>)
schemars/src/ser.rs:220
↓ 1 callersMethodserialize_none
(self)
schemars/src/ser.rs:116
↓ 1 callersMethodserialize_seq
(self, _len: Option<usize>)
schemars/src/ser.rs:182
↓ 1 callersFunctionstrchr
(bytes: &[u8], chr: u8)
schemars/src/_private/rustdoc.rs:20
↓ 1 callersFunctionsubslice
(mut bytes: &[u8], mut start: usize, end: usize)
schemars/src/_private/rustdoc.rs:32
↓ 1 callersFunctionten_and_true
()
schemars/tests/integration/default.rs:58
↓ 1 callersFunctionto_tokens
(attrs: &[Attribute])
schemars_derive/src/attr/schemars_to_serde.rs:165
↓ 1 callersFunctionto_utf8
(bytes: &[u8])
schemars/src/_private/rustdoc.rs:59
↓ 1 callersMethodtransform
(&mut self, schema: &mut Schema)
schemars/src/_private/mod.rs:154
↓ 1 callersFunctiontransform_subschemas
Applies the given [`Transform`] to all direct subschemas of the [`Schema`].
schemars/src/transform.rs:144
↓ 1 callersMethodtransforms_mut
Returns an iterator over the [transforms](SchemaSettings::transforms) being used by this `SchemaGenerator`.
schemars/src/generate.rs:441
↓ 1 callersFunctiontrim_ascii
(mut bytes: &[u8])
schemars/src/_private/rustdoc.rs:77
↓ 1 callersFunctiontrim_start
(mut bytes: &[u8], chr: u8)
schemars/src/_private/rustdoc.rs:66
↓ 1 callersMethodtry_as_object_mut
(&mut self)
schemars/src/schema.rs:170
↓ 1 callersMethodtry_to_object
(self)
schemars/src/schema.rs:162
↓ 1 callersMethodvisit_field
(&mut self, field: &Field)
schemars_derive/src/bound.rs:122
↓ 1 callersMethodvisit_macro
(&mut self, _field: &Field, _mac: &syn::Macro)
schemars_derive/src/bound.rs:246
↓ 1 callersMethodvisit_path_arguments
(&mut self, field: &Field, arguments: &syn::PathArguments)
schemars_derive/src/bound.rs:204
↓ 1 callersMethodvisit_path_segment
(&mut self, field: &Field, segment: &syn::PathSegment)
schemars_derive/src/bound.rs:200
↓ 1 callersMethodvisit_type_param_bound
(&mut self, field: &Field, bound: &syn::TypeParamBound)
schemars_derive/src/bound.rs:232
↓ 1 callersFunctionwith_contract_check
( skip_deserializing: bool, skip_serializing: bool, action: TokenStream, )
schemars_derive/src/ast/mod.rs:163
Function_assert_send
()
schemars/src/generate.rs:789
Method_schemars_private_is_option
()
schemars/src/lib.rs:188
Method_schemars_private_is_option
()
schemars/src/json_schema_impls/core.rs:31
Method_schemars_private_non_optional_json_schema
(generator: &mut SchemaGenerator)
schemars/src/lib.rs:181
Method_schemars_private_non_optional_json_schema
(generator: &mut SchemaGenerator)
schemars/src/json_schema_impls/core.rs:27
Methodadd_length_or_range
( value: &LengthOrRange, mutators: &mut Vec<TokenStream>, required_format: &str,
schemars_derive/src/attr/validation.rs:114
Methodadd_mutators
(&self, expr: &mut SchemaExpr)
schemars_derive/src/attr/validation.rs:69
Methodadd_mutators
(&self, expr: &mut SchemaExpr)
schemars_derive/src/attr/mod.rs:183
Functionadjacent_enums_flattened
()
schemars/tests/integration/enums_option_flattened.rs:290
Functionadjacent_enums_flattened
()
schemars/tests/integration/enums_flattened.rs:263
Functionadjacently_tagged_enum
()
schemars/tests/integration/enums_ref_variants.rs:273
Functionadjacently_tagged_enum
()
schemars/tests/integration/enums_untagged_variant.rs:193
Functionadjacently_tagged_enum
()
schemars/tests/integration/enums_deny_unknown_fields.rs:160
Functionadjacently_tagged_enum
()
schemars/tests/integration/enums.rs:293
Functionadjacently_tagged_enum
()
schemars/tests/integration/contract.rs:196
Functionapply_inner_validation
(schema: &mut Schema, f: fn(&mut Schema) -> ())
schemars/src/_private/mod.rs:354
Functionapply_internal_enum_variant_tag
Update a schema for an internally tagged enum variant
schemars/src/_private/mod.rs:260
Functionarrayvec07
()
schemars/tests/integration/arrayvec.rs:5
Functionarrayvec07_arraystring
()
schemars/tests/integration/arrayvec.rs:22
Functionassert
()
schemars/src/generate.rs:790
Methodassert_identical
Checks that the schema generated for this type is identical to that of another type.
schemars/tests/integration/test_helper.rs:101
Functionassert_upper_type_valid
(schema: &Schema, _: schemars::generate::Contract)
schemars/tests/integration/transform.rs:57
Functionattributes_applied_in_order
()
schemars/tests/integration/attr_order.rs:45
Functionauto_bound
()
schemars/tests/integration/bound.rs:69
Functionbound
()
schemars/tests/integration/std_types.rs:166
Functionbytes
()
schemars/tests/integration/bytes.rs:5
Functionbytes_mut
()
schemars/tests/integration/bytes.rs:13
← previousnext →101–200 of 543, ranked by callers