Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GREsau/schemars
/ functions
Functions
543 in github.com/GREsau/schemars
⨍
Functions
543
◇
Types & classes
298
↓ 1 callers
Function
enum_ref_variants
(cont: &Container, variant: Option<&Variant>, expr: SchemaExpr)
schemars_derive/src/schema_exprs.rs:513
↓ 1 callers
Function
escape
(text: &str)
schemars/src/_private/regex_syntax.rs:32
↓ 1 callers
Function
escape_into
(text: &str, buf: &mut String)
schemars/src/_private/regex_syntax.rs:38
↓ 1 callers
Function
expr_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 callers
Function
expr_for_container
(cont: &Container)
schemars_derive/src/schema_exprs.rs:56
↓ 1 callers
Function
expr_for_container_with
(cont: &Container, with_attr: &WithAttr)
schemars_derive/src/schema_exprs.rs:165
↓ 1 callers
Function
expr_for_enum
( cont: &Container, variants: &[Variant], cattrs: &serde_attr::Container, )
schemars_derive/src/schema_exprs.rs:256
↓ 1 callers
Function
expr_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 callers
Function
expr_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 callers
Function
expr_for_internal_tagged_enum_variant
( cont: &Container, variant: &Variant, deny_unknown_fields: bool, )
schemars_derive/src/schema_exprs.rs:606
↓ 1 callers
Function
expr_for_newtype_struct
(cont: &Container, field: &Field)
schemars_derive/src/schema_exprs.rs:642
↓ 1 callers
Function
expr_for_repr
(cont: &Container)
schemars_derive/src/schema_exprs.rs:118
↓ 1 callers
Function
expr_for_untagged_enum
( cont: &Container, variants: impl Iterator<Item = &'a Variant<'a>>, deny_unknown_fields: bool, )
schemars_derive/src/schema_exprs.rs:375
↓ 1 callers
Function
field_default_expr
(field: &Field, container_has_default: bool)
schemars_derive/src/schema_exprs.rs:772
↓ 1 callers
Function
find_trait_bounds
(orig_generics: &'a syn::Generics, cont: &mut Container<'a>)
schemars_derive/src/bound.rs:11
↓ 1 callers
Function
flatten
(schema: &mut Schema, other: Schema)
schemars/src/_private/mod.rs:360
↓ 1 callers
Function
flatten_property
(obj1: &mut Map<String, Value>, key: String, value2: Value)
schemars/src/_private/mod.rs:361
↓ 1 callers
Function
get_doc
(attrs: &[Attribute])
schemars_derive/src/attr/doc.rs:5
↓ 1 callers
Function
get_meta_ident
(meta: &CustomMeta)
schemars_derive/src/attr/schemars_to_serde.rs:173
↓ 1 callers
Function
get_rename_format_type_params
( errors: &Ctxt, rename_format_string: &syn::LitStr, generics: &'a syn::Generics, )
schemars_derive/src/name.rs:5
↓ 1 callers
Function
get_transparent_type
(cont: &'a Container)
schemars_derive/src/lib.rs:181
↓ 1 callers
Method
handle_format
(&mut self, meta: &CustomMeta, format: Format, cx: &AttrCtxt)
schemars_derive/src/attr/validation.rs:225
↓ 1 callers
Function
inner
Non-generic inner function to reduce monomorphization overhead
schemars/src/_private/mod.rs:55
↓ 1 callers
Function
insert_validation_property
( schema: &mut Schema, required_type: &str, key: &str, value: impl Into<Value>, )
schemars/src/_private/mod.rs:338
↓ 1 callers
Method
is_deserialize
(&self)
schemars/src/generate.rs:205
↓ 1 callers
Function
is_meta_character
(c: char)
schemars/src/_private/regex_syntax.rs:48
↓ 1 callers
Function
is_schemars_serde_keyword
(meta: &CustomMeta)
schemars_derive/src/attr/mod.rs:560
↓ 1 callers
Function
json_pointer_mut
( mut object: &'a mut JsonMap<String, Value>, pointer: &str, create_if_missing: bool, )
schemars/src/generate.rs:625
↓ 1 callers
Function
json_schema
(_: &mut schemars::SchemaGenerator)
schemars/tests/integration/schema_with.rs:32
↓ 1 callers
Function
needs_encoding
(byte: u8)
schemars/src/encoding.rs:8
↓ 1 callers
Function
needs_jsonschema_bound
(field: &Field, variant: Option<&Variant>)
schemars_derive/src/bound.rs:100
↓ 1 callers
Method
new_nested_meta
(&self, metas: Vec<CustomMeta>)
schemars_derive/src/attr/mod.rs:492
↓ 1 callers
Function
normalise_additional_unevaluated_properties
( schema_obj1: &mut Map<String, Value>, schema_obj2: &Map<String, Value>, )
schemars/src/_private/mod.rs:432
↓ 1 callers
Function
parse_contains
(outer_meta: CustomMeta, cx: &AttrCtxt)
schemars_derive/src/attr/parse_meta.rs:205
↓ 1 callers
Function
parse_extensions
( meta: &CustomMeta, cx: &AttrCtxt, )
schemars_derive/src/attr/parse_meta.rs:100
↓ 1 callers
Function
parse_length_or_range
(outer_meta: &CustomMeta, cx: &AttrCtxt)
schemars_derive/src/attr/parse_meta.rs:108
↓ 1 callers
Function
parse_name_value_lit_str
(meta: CustomMeta, cx: &AttrCtxt)
schemars_derive/src/attr/parse_meta.rs:77
↓ 1 callers
Function
parse_pattern
(meta: &CustomMeta, cx: &AttrCtxt)
schemars_derive/src/attr/parse_meta.rs:146
↓ 1 callers
Function
parse_schemars_regex
(outer_meta: &CustomMeta, cx: &AttrCtxt)
schemars_derive/src/attr/parse_meta.rs:150
↓ 1 callers
Function
parse_validate_regex
(outer_meta: &CustomMeta, cx: &AttrCtxt)
schemars_derive/src/attr/parse_meta.rs:179
↓ 1 callers
Method
pointer
(&self, pointer: &str)
schemars/src/schema.rs:310
↓ 1 callers
Method
pointer_mut
(&mut self, pointer: &str)
schemars/src/schema.rs:348
↓ 1 callers
Method
populate
( &mut self, attrs: &[Attribute], schemars_cx: &mut AttrCtxt, serde_cx: &mut A
schemars_derive/src/attr/mod.rs:69
↓ 1 callers
Function
primitives
()
schemars/tests/integration/test_helper.rs:396
↓ 1 callers
Method
process_attr
(&mut self, cx: &mut AttrCtxt)
schemars_derive/src/attr/mod.rs:82
↓ 1 callers
Method
process_meta
( &mut self, meta: CustomMeta, meta_name: &str, cx: &AttrCtxt, )
schemars_derive/src/attr/validation.rs:151
↓ 1 callers
Method
process_meta
( &mut self, meta: CustomMeta, meta_name: &str, cx: &AttrCtxt, )
schemars_derive/src/attr/mod.rs:86
↓ 1 callers
Function
process_serde_variant_attrs
(ctxt: &Ctxt, variants: impl Iterator<Item = &'a mut Variant>)
schemars_derive/src/attr/schemars_to_serde.rs:62
↓ 1 callers
Function
remove_unit_variants
(schema: &mut Schema)
schemars/src/_private/mod.rs:118
↓ 1 callers
Function
schema_for_value
( base_settings: &SchemaSettings, contract: Contract, value: impl Serialize, )
schemars/tests/integration/test_helper.rs:379
↓ 1 callers
Method
schema_str
(self)
schemars_derive/src/attr/validation.rs:34
↓ 1 callers
Method
serialize_element
(&mut self, value: &T)
schemars/src/ser.rs:290
↓ 1 callers
Method
serialize_map
(self, _len: Option<usize>)
schemars/src/ser.rs:220
↓ 1 callers
Method
serialize_none
(self)
schemars/src/ser.rs:116
↓ 1 callers
Method
serialize_seq
(self, _len: Option<usize>)
schemars/src/ser.rs:182
↓ 1 callers
Function
strchr
(bytes: &[u8], chr: u8)
schemars/src/_private/rustdoc.rs:20
↓ 1 callers
Function
subslice
(mut bytes: &[u8], mut start: usize, end: usize)
schemars/src/_private/rustdoc.rs:32
↓ 1 callers
Function
ten_and_true
()
schemars/tests/integration/default.rs:58
↓ 1 callers
Function
to_tokens
(attrs: &[Attribute])
schemars_derive/src/attr/schemars_to_serde.rs:165
↓ 1 callers
Function
to_utf8
(bytes: &[u8])
schemars/src/_private/rustdoc.rs:59
↓ 1 callers
Method
transform
(&mut self, schema: &mut Schema)
schemars/src/_private/mod.rs:154
↓ 1 callers
Function
transform_subschemas
Applies the given [`Transform`] to all direct subschemas of the [`Schema`].
schemars/src/transform.rs:144
↓ 1 callers
Method
transforms_mut
Returns an iterator over the [transforms](SchemaSettings::transforms) being used by this `SchemaGenerator`.
schemars/src/generate.rs:441
↓ 1 callers
Function
trim_ascii
(mut bytes: &[u8])
schemars/src/_private/rustdoc.rs:77
↓ 1 callers
Function
trim_start
(mut bytes: &[u8], chr: u8)
schemars/src/_private/rustdoc.rs:66
↓ 1 callers
Method
try_as_object_mut
(&mut self)
schemars/src/schema.rs:170
↓ 1 callers
Method
try_to_object
(self)
schemars/src/schema.rs:162
↓ 1 callers
Method
visit_field
(&mut self, field: &Field)
schemars_derive/src/bound.rs:122
↓ 1 callers
Method
visit_macro
(&mut self, _field: &Field, _mac: &syn::Macro)
schemars_derive/src/bound.rs:246
↓ 1 callers
Method
visit_path_arguments
(&mut self, field: &Field, arguments: &syn::PathArguments)
schemars_derive/src/bound.rs:204
↓ 1 callers
Method
visit_path_segment
(&mut self, field: &Field, segment: &syn::PathSegment)
schemars_derive/src/bound.rs:200
↓ 1 callers
Method
visit_type_param_bound
(&mut self, field: &Field, bound: &syn::TypeParamBound)
schemars_derive/src/bound.rs:232
↓ 1 callers
Function
with_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
Method
add_length_or_range
( value: &LengthOrRange, mutators: &mut Vec<TokenStream>, required_format: &str,
schemars_derive/src/attr/validation.rs:114
Method
add_mutators
(&self, expr: &mut SchemaExpr)
schemars_derive/src/attr/validation.rs:69
Method
add_mutators
(&self, expr: &mut SchemaExpr)
schemars_derive/src/attr/mod.rs:183
Function
adjacent_enums_flattened
()
schemars/tests/integration/enums_option_flattened.rs:290
Function
adjacent_enums_flattened
()
schemars/tests/integration/enums_flattened.rs:263
Function
adjacently_tagged_enum
()
schemars/tests/integration/enums_ref_variants.rs:273
Function
adjacently_tagged_enum
()
schemars/tests/integration/enums_untagged_variant.rs:193
Function
adjacently_tagged_enum
()
schemars/tests/integration/enums_deny_unknown_fields.rs:160
Function
adjacently_tagged_enum
()
schemars/tests/integration/enums.rs:293
Function
adjacently_tagged_enum
()
schemars/tests/integration/contract.rs:196
Function
apply_inner_validation
(schema: &mut Schema, f: fn(&mut Schema) -> ())
schemars/src/_private/mod.rs:354
Function
apply_internal_enum_variant_tag
Update a schema for an internally tagged enum variant
schemars/src/_private/mod.rs:260
Function
arrayvec07
()
schemars/tests/integration/arrayvec.rs:5
Function
arrayvec07_arraystring
()
schemars/tests/integration/arrayvec.rs:22
Function
assert
()
schemars/src/generate.rs:790
Method
assert_identical
Checks that the schema generated for this type is identical to that of another type.
schemars/tests/integration/test_helper.rs:101
Function
assert_upper_type_valid
(schema: &Schema, _: schemars::generate::Contract)
schemars/tests/integration/transform.rs:57
Function
attributes_applied_in_order
()
schemars/tests/integration/attr_order.rs:45
Function
auto_bound
()
schemars/tests/integration/bound.rs:69
Function
bound
()
schemars/tests/integration/std_types.rs:166
Function
bytes
()
schemars/tests/integration/bytes.rs:5
Function
bytes_mut
()
schemars/tests/integration/bytes.rs:13
← previous
next →
101–200 of 543, ranked by callers