SYMBOL INDEX (1691 symbols across 129 files) FILE: .github/features.js constant START_MARKER (line 7) | const START_MARKER = "[//]: # (FEATURE_FLAGS_START)"; constant END_MARKER (line 8) | const END_MARKER = "[//]: # (FEATURE_FLAGS_END)"; FILE: examples/basic-ts/src/main.rs type User (line 11) | pub struct User { type Post (line 25) | pub struct Post { type PostStatus (line 35) | pub enum PostStatus { function main (line 41) | fn main() { FILE: examples/collect/src/main.rs type User (line 7) | pub struct User { type Post (line 13) | pub struct Post { type Comment (line 20) | pub struct Comment { type InternalMetrics (line 27) | pub struct InternalMetrics { function main (line 31) | fn main() -> Result<(), Box> { FILE: examples/scratchpad/src/main.rs function main (line 6) | fn main() { FILE: specta-go/bindings.go type MyType (line 3) | type MyType struct FILE: specta-go/src/error.rs type Error (line 7) | pub enum Error { method fmt (line 36) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method from (line 57) | fn from(e: io::Error) -> Self { method from (line 63) | fn from(e: fmt::Error) -> Self { method format (line 69) | pub(crate) fn format(message: &'static str, source: specta::FormatErro... FILE: specta-go/src/go.rs type Layout (line 15) | pub enum Layout { type Go (line 26) | pub struct Go { method new (line 46) | pub fn new() -> Self { method package_name (line 51) | pub fn package_name(mut self, name: impl Into) -> Self { method header (line 57) | pub fn header(mut self, header: impl Into>) -> Self { method export (line 63) | pub fn export(&self, types: &Types, format: impl Format) -> Result Self { function format_types (line 121) | fn format_types<'a>( function map_datatype_format (line 134) | fn map_datatype_format( function map_datatype_format_children (line 156) | fn map_datatype_format_children( function map_datatype_fields (line 207) | fn map_datatype_fields( function map_types_for_datatype_format (line 234) | fn map_types_for_datatype_format<'a>( FILE: specta-go/src/primitives.rs type GoContext (line 15) | pub struct GoContext { method add_import (line 20) | pub fn add_import(&mut self, import: &str) { function export (line 25) | pub fn export( function struct_fields (line 135) | fn struct_fields( function enum_variants (line 202) | fn enum_variants( function datatype (line 262) | fn datatype( function to_pascal_case (line 397) | fn to_pascal_case(s: &str) -> String { FILE: specta-go/src/reserved_names.rs constant RESERVED_GO_NAMES (line 2) | pub(crate) const RESERVED_GO_NAMES: &[&str] = &[ FILE: specta-jsonschema/examples/jsonschema.rs type User (line 9) | pub struct User { type Role (line 17) | pub enum Role { type Post (line 25) | pub struct Post { function main (line 33) | fn main() { FILE: specta-jsonschema/src/error.rs type Error (line 4) | pub enum Error { method format (line 41) | pub(crate) fn format(message: &'static str, source: specta::FormatErro... FILE: specta-jsonschema/src/import.rs function from_schema (line 8) | pub fn from_schema(schema: &Schema) -> Result { function value_to_datatype (line 28) | fn value_to_datatype(value: &Value) -> Result { function schema_object_to_datatype (line 33) | fn schema_object_to_datatype(obj: &JsonMap) -> Result Result { FILE: specta-jsonschema/src/json_schema.rs type JsonSchema (line 8) | pub struct JsonSchema { method new (line 32) | pub fn new() -> Self { method schema_version (line 37) | pub fn schema_version(mut self, version: SchemaVersion) -> Self { method layout (line 43) | pub fn layout(mut self, layout: Layout) -> Self { method title (line 49) | pub fn title(mut self, title: impl Into) -> Self { method description (line 55) | pub fn description(mut self, description: impl Into) -> Self { method export (line 61) | pub fn export(&self, types: &Types, format: impl Format) -> Result R... method export_to (line 81) | pub fn export_to( method export_single_file (line 105) | fn export_single_file(&self, types: &Types) -> Result { method export_files (line 138) | fn export_files(&self, base_path: &Path, types: &Types) -> Result<(), ... method default (line 20) | fn default() -> Self { function format_types (line 187) | fn format_types<'a>( FILE: specta-jsonschema/src/layout.rs type Layout (line 3) | pub enum Layout { method default (line 15) | fn default() -> Self { FILE: specta-jsonschema/src/lib.rs function to_ast (line 135) | pub fn to_ast(schema: &schemars::Schema) -> Result Re... function datatype_to_schema (line 18) | pub fn datatype_to_schema( function primitive_to_schema (line 126) | fn primitive_to_schema(p: &Primitive) -> Value { function struct_to_schema (line 155) | fn struct_to_schema(js: &JsonSchema, types: &Types, s: &Struct) -> Resul... function enum_to_schema (line 213) | fn enum_to_schema(js: &JsonSchema, types: &Types, e: &Enum) -> Result Result<... FILE: specta-jsonschema/src/schema_version.rs type SchemaVersion (line 5) | pub enum SchemaVersion { method uri (line 16) | pub fn uri(&self) -> &'static str { method definitions_key (line 26) | pub fn definitions_key(&self) -> &'static str { method default (line 35) | fn default() -> Self { FILE: specta-jsonschema/tests/basic.rs type User (line 10) | struct User { type Status (line 17) | enum Status { function test_basic_export (line 24) | fn test_basic_export() { function test_schema_version (line 37) | fn test_schema_version() { function test_primitives (line 50) | fn test_primitives() { function test_nullable (line 68) | fn test_nullable() { function test_enum (line 79) | fn test_enum() { function test_export_uses_format (line 91) | fn test_export_uses_format() { function test_export_to_uses_format (line 108) | fn test_export_to_uses_format() { FILE: specta-macros/src/lib.rs function derive_type (line 203) | pub fn derive_type(input: proc_macro::TokenStream) -> proc_macro::TokenS... function parse_type_from_lit (line 212) | pub fn parse_type_from_lit(input: proc_macro::TokenStream) -> proc_macro... function specta (line 235) | pub fn specta( FILE: specta-macros/src/specta.rs function unraw (line 15) | fn unraw(s: &str) -> &str { type RenameAllRule (line 24) | enum RenameAllRule { method parse (line 36) | fn parse(value: &str, span: proc_macro2::Span) -> syn::Result { method apply (line 53) | fn apply(self, input: &str) -> String { type FunctionNameAttrs (line 67) | struct FunctionNameAttrs { function parse_name_attrs (line 72) | fn parse_name_attrs( function attribute (line 99) | pub fn attribute( FILE: specta-macros/src/type/attr/container.rs type ContainerAttr (line 11) | pub struct ContainerAttr { method from_attrs (line 28) | pub fn from_attrs(attrs: &mut Vec) -> Result { FILE: specta-macros/src/type/attr/field.rs type FieldAttr (line 8) | pub struct FieldAttr { method from_attrs (line 17) | pub fn from_attrs(attrs: &mut Vec) -> Result { FILE: specta-macros/src/type/attr/legacy.rs type Scope (line 2) | pub enum Scope { method as_str (line 9) | fn as_str(self) -> &'static str { function migration_hint (line 18) | pub fn migration_hint(scope: Scope, key: &str) -> Option { FILE: specta-macros/src/type/attr/rustc.rs type Deprecated (line 10) | pub struct Deprecated { method new (line 16) | pub const fn new() -> Self { method with_note (line 23) | pub fn with_note(note: Cow<'static, str>) -> Self { method with_since_note (line 30) | pub fn with_since_note(since: Option>, note: Cow<'st... type RustCAttr (line 39) | pub struct RustCAttr { method from_attrs (line 45) | pub fn from_attrs(attrs: &mut Vec) -> Result { function deprecated_as_tokens (line 118) | pub(crate) fn deprecated_as_tokens(Deprecated { note, since }: Deprecate... FILE: specta-macros/src/type/attr/variant.rs type VariantAttr (line 8) | pub struct VariantAttr { method from_attrs (line 16) | pub fn from_attrs(attrs: &mut Vec) -> Result { FILE: specta-macros/src/type/enum.rs function parse_enum (line 10) | pub fn parse_enum( function parse_variant_type_override (line 197) | fn parse_variant_type_override(attrs: &[syn::Attribute]) -> syn::Result<... FILE: specta-macros/src/type/field.rs function construct_field (line 12) | pub fn construct_field( function construct_field_with_variant_skip (line 29) | pub fn construct_field_with_variant_skip( FILE: specta-macros/src/type/generics.rs type UsedTypeParams (line 16) | pub struct UsedTypeParams { function generics_with_ident_and_bounds_only (line 22) | pub fn generics_with_ident_and_bounds_only(generics: &Generics) -> Optio... function generics_with_ident_only_and_const_ty (line 51) | pub fn generics_with_ident_only_and_const_ty( function type_where_clause (line 83) | pub fn type_where_clause( function generics_with_ident_only (line 105) | pub fn generics_with_ident_only(generics: &Generics) -> Option Type { type InferredLifetimeVisitor (line 124) | struct InferredLifetimeVisitor; method visit_lifetime_mut (line 127) | fn visit_lifetime_mut(&mut self, lifetime: &mut syn::Lifetime) { function all_type_param_idents (line 132) | pub fn all_type_param_idents(generics: &Generics) -> Vec { function used_type_params (line 145) | pub fn used_type_params( function field_is_skipped (line 234) | fn field_is_skipped(field: &syn::Field) -> syn::Result { function variant_is_skipped (line 239) | fn variant_is_skipped(variant: &syn::Variant) -> syn::Result { function has_associated_type_usage (line 244) | pub fn has_associated_type_usage(used_generic_types: &UsedTypeParams) ->... function used_direct_type_params (line 248) | pub fn used_direct_type_params<'a>( function used_associated_type_paths (line 259) | pub fn used_associated_type_paths(used_generic_types: &UsedTypeParams) -... function add_type_to_where_clause (line 267) | pub fn add_type_to_where_clause( function merge_custom_bounds (line 301) | fn merge_custom_bounds( type GenericTypeUseVisitor (line 322) | struct GenericTypeUseVisitor<'a> { function visit_type_path (line 330) | fn visit_type_path(&mut self, node: &syn::TypePath) { function visit_type (line 360) | fn visit_type(&mut self, node: &syn::Type) { FILE: specta-macros/src/type/mod.rs type AttributeScope (line 26) | pub(super) enum AttributeScope { function build_runtime_attributes (line 32) | pub(super) fn build_runtime_attributes( function derive (line 67) | pub fn derive(input: proc_macro::TokenStream) -> syn::Result Result { method as_str (line 45) | fn as_str(self) -> &'static str { type ContainerAttrs (line 60) | struct ContainerAttrs { type VariantAttrs (line 80) | struct VariantAttrs { type FieldAttrs (line 96) | struct FieldAttrs { function lower_runtime_attributes (line 110) | pub(super) fn lower_runtime_attributes( function parse_container_attrs (line 125) | fn parse_container_attrs(attrs: &[Attribute]) -> Result Result Result> { function parse_container_meta (line 173) | fn parse_container_meta(target: &mut ContainerAttrs, meta: ParseNestedMe... function parse_variant_meta (line 218) | fn parse_variant_meta(target: &mut VariantAttrs, meta: ParseNestedMeta<'... function parse_field_meta (line 258) | fn parse_field_meta(target: &mut FieldAttrs, meta: ParseNestedMeta<'_>) ... function parse_rename (line 295) | fn parse_rename( function parse_rename_all (line 318) | fn parse_rename_all( function parse_default_assignment (line 342) | fn parse_default_assignment(meta: &ParseNestedMeta<'_>) -> Result { function parse_conversion_assignment (line 350) | fn parse_conversion_assignment(meta: &ParseNestedMeta<'_>) -> Result) -> Result { function parse_lit_str (line 363) | fn parse_lit_str(meta: &ParseNestedMeta<'_>) -> Result { function lower_container_attrs (line 367) | fn lower_container_attrs(crate_ref: &TokenStream, attrs: ContainerAttrs)... function lower_variant_attrs (line 425) | fn lower_variant_attrs(_crate_ref: &TokenStream, attrs: VariantAttrs) ->... function lower_field_attrs (line 475) | fn lower_field_attrs(_crate_ref: &TokenStream, attrs: FieldAttrs) -> Tok... function push_opt_string (line 520) | fn push_opt_string(inserts: &mut Vec, key: &str, value: &Op... function push_vec_string (line 526) | fn push_vec_string(inserts: &mut Vec, key: &str, value: &[S... function push_bool (line 537) | fn push_bool(inserts: &mut Vec, key: &str, value: bool) { function push_opt_rename_rule (line 543) | fn push_opt_rename_rule(inserts: &mut Vec, key: &str, value... function push_opt_conversion (line 550) | fn push_opt_conversion( FILE: specta-macros/src/type/struct.rs function decode_field_attrs (line 11) | pub fn decode_field_attrs<'a>( function parse_struct (line 67) | pub fn parse_struct( FILE: specta-macros/src/utils.rs type AttributeValue (line 12) | pub enum AttributeValue { method span (line 26) | fn span(&self) -> Span { method parse (line 37) | fn parse(input: ParseStream) -> Result { type Attribute (line 52) | pub struct Attribute { method value_span (line 64) | pub fn value_span(&self) -> Span { method parse_string (line 71) | pub fn parse_string(&self) -> Result { method parse_bool (line 81) | pub fn parse_bool(&self) -> Result { method parse_path (line 91) | pub fn parse_path(&self) -> Result { method parse_type (line 102) | pub fn parse_type(&self) -> Result { type AttrExtract (line 122) | pub trait AttrExtract { method extract (line 123) | fn extract(&mut self, source: &str, key: &str) -> Option; method extract_all (line 124) | fn extract_all(&mut self, source: &str, key: &str) -> Vec; method extract (line 128) | fn extract(&mut self, source: &str, key: &str) -> Option { method extract_all (line 162) | fn extract_all(&mut self, source: &str, key: &str) -> Vec { type NestedAttributeList (line 210) | struct NestedAttributeList { method parse (line 215) | fn parse(input: ParseStream) -> Result { function parse_attrs (line 262) | pub fn parse_attrs(attrs: &[syn::Attribute]) -> syn::Result String { function format_fn_wrapper (line 336) | pub fn format_fn_wrapper(function: &Ident) -> Ident { FILE: specta-openapi/src/lib.rs function to_openapi (line 62) | pub fn to_openapi(typ: &DataType) -> ReferenceOr { FILE: specta-serde/src/error.rs type Error (line 5) | pub struct Error { method invalid_usage_of_skip (line 64) | pub(crate) fn invalid_usage_of_skip( method invalid_internally_tagged_enum (line 76) | pub(crate) fn invalid_internally_tagged_enum( method invalid_enum_representation (line 90) | pub(crate) fn invalid_enum_representation(reason: impl Into) -> fmt::Result { method fmt (line 275) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type ErrorKind (line 10) | enum ErrorKind { FILE: specta-serde/src/inflection.rs type RenameRule (line 11) | pub enum RenameRule { method from_str (line 50) | pub fn from_str(rename_all_str: &str) -> Result> { method apply_to_variant (line 62) | pub fn apply_to_variant(self, variant: &str) -> String { method apply_to_field (line 87) | pub fn apply_to_field(self, field: &str) -> String { method or (line 118) | pub fn or(self, rule_b: Self) -> Self { type ParseError (line 126) | pub struct ParseError<'a> { method fmt (line 131) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { FILE: specta-serde/src/lib.rs type Phase (line 132) | pub enum Phase { type Format (line 153) | pub struct Format; method map_types (line 156) | fn map_types(&'_ self, types: &Types) -> Result, Format... method map_type (line 204) | fn map_type(&'_ self, types: &Types, dt: &DataType) -> Result Result, Format... method map_type (line 507) | fn map_type(&'_ self, types: &Types, dt: &DataType) -> Result bo... function select_phase_datatype (line 593) | pub fn select_phase_datatype(dt: &DataType, types: &Types, phase: Phase)... type PhaseRewrite (line 600) | enum PhaseRewrite { function select_phase_datatype_inner (line 606) | fn select_phase_datatype_inner(ty: &mut DataType, types: &Types, phase: ... function select_phase_fields (line 680) | fn select_phase_fields(fields: &mut Fields, types: &Types, phase: Phase) { function select_explicit_phased_type (line 700) | fn select_explicit_phased_type(ty: &DataType, phase: Phase) -> Option Option( function named_reference_generics (line 776) | fn named_reference_generics( function named_reference_generics_mut (line 785) | fn named_reference_generics_mut( type SplitGeneratedTypes (line 795) | struct SplitGeneratedTypes { type TypeIdentity (line 801) | struct TypeIdentity { method from_ndt (line 810) | fn from_ndt(ty: &specta::datatype::NamedDataType) -> Self { function rewrite_datatype_for_phase (line 822) | fn rewrite_datatype_for_phase( function lower_flattened_struct (line 983) | fn lower_flattened_struct(strct: &mut Struct) -> Result... function field_is_flattened (line 1022) | fn field_is_flattened(field: &Field) -> bool { function rewrite_fields_for_phase (line 1029) | fn rewrite_fields_for_phase( function rewrite_field_for_phase (line 1103) | fn rewrite_field_for_phase( function rewrite_struct_repr_for_phase (line 1139) | fn rewrite_struct_repr_for_phase( function should_skip_field_for_mode (line 1203) | fn should_skip_field_for_mode(field: &Field, mode: PhaseRewrite) -> Resu... function skipped_field_marker (line 1215) | fn skipped_field_marker(field: &Field) -> Field { function unnamed_live_fields (line 1224) | fn unnamed_live_fields(unnamed: &UnnamedFields) -> impl Iterator usize { function unnamed_has_effective_payload (line 1232) | fn unnamed_has_effective_payload(unnamed: &UnnamedFields) -> bool { function unnamed_fields_all_skipped (line 1236) | fn unnamed_fields_all_skipped(unnamed: &UnnamedFields) -> bool { function rewrite_enum_repr_for_phase (line 1240) | fn rewrite_enum_repr_for_phase( function enum_repr_already_rewritten (line 1319) | fn enum_repr_already_rewritten(e: &Enum) -> bool { function variant_repr_already_rewritten (line 1327) | fn variant_repr_already_rewritten(name: &str, variant: &Variant) -> bool { function rewrite_identifier_enum_for_phase (line 1347) | fn rewrite_identifier_enum_for_phase( function container_rename_all_rule (line 1425) | fn container_rename_all_rule( function enum_variant_field_rename_rule (line 1444) | fn enum_variant_field_rename_rule( function identifier_union_variant (line 1481) | fn identifier_union_variant(ty: DataType) -> Variant { function transform_untagged_variant (line 1489) | fn transform_untagged_variant(variant: &Variant) -> Result R... function variant_is_skipped_for_mode (line 1519) | fn variant_is_skipped_for_mode(attrs: &SerdeVariantAttrs, mode: PhaseRew... function serialized_variant_name (line 1527) | fn serialized_variant_name( function select_phase_string (line 1566) | fn select_phase_string<'a>( function select_phase_rule (line 1590) | fn select_phase_rule( function resolve_phased_type (line 1614) | fn resolve_phased_type( function conversion_datatype_for_mode (line 1639) | fn conversion_datatype_for_mode( function select_conversion_target (line 1652) | fn select_conversion_target( function transform_external_variant (line 1704) | fn transform_external_variant( function transform_adjacent_variant (line 1731) | fn transform_adjacent_variant( function transform_internal_variant (line 1756) | fn transform_internal_variant( function named_fields_datatype (line 1826) | fn named_fields_datatype(fields: Vec<(Cow<'static, str>, Field)>) -> Dat... function string_literal_datatype (line 1835) | fn string_literal_datatype(value: String) -> DataType { function is_generated_string_literal_datatype (line 1843) | fn is_generated_string_literal_datatype(ty: &DataType) -> bool { function variant_has_effective_payload (line 1867) | fn variant_has_effective_payload(variant: &Variant) -> bool { function variant_payload_field (line 1875) | fn variant_payload_field(variant: &Variant) -> Option { function clone_variant_with_named_fields (line 1904) | fn clone_variant_with_named_fields( function clone_variant_with_unnamed_fields (line 1921) | fn clone_variant_with_unnamed_fields(original: &Variant, fields: Vec Result { function container_has_local_difference (line 2118) | fn container_has_local_difference(attrs: &specta::datatype::Attributes) ... function fields_have_local_difference (line 2135) | fn fields_have_local_difference(fields: &Fields) -> Result { function field_has_local_difference (line 2172) | fn field_has_local_difference(field: &Field) -> Result { function variant_has_local_difference (line 2185) | fn variant_has_local_difference(variant: &Variant) -> Result { function collect_dependencies (line 2199) | fn collect_dependencies( function collect_conversion_dependencies (line 2258) | fn collect_conversion_dependencies( function collect_fields_dependencies (line 2281) | fn collect_fields_dependencies( function build_from_original (line 2307) | fn build_from_original( function register_generated_type (line 2317) | fn register_generated_type(types: &mut Types, generated: NamedDataType) ... function rewrite_named_type_for_phase (line 2328) | fn rewrite_named_type_for_phase(ndt: &mut NamedDataType, mode: PhaseRewr... function split_type_name (line 2338) | fn split_type_name(original: &NamedDataType, mode: PhaseRewrite) -> Resu... function renamed_type_name_for_phase (line 2356) | fn renamed_type_name_for_phase( function apply_field_attrs (line 2378) | fn apply_field_attrs( function field_is_optional_for_mode (line 2396) | fn field_is_optional_for_mode( type OneOrManyString (line 2422) | enum OneOrManyString { type Filters (line 2428) | struct Filters { type FilterList (line 2434) | struct FilterList { type Plain (line 2439) | struct Plain { type WithSkipIf (line 2444) | struct WithSkipIf { function selects_split_named_reference_for_each_phase (line 2450) | fn selects_split_named_reference_for_each_phase() { function rewrites_nested_generics_for_each_phase (line 2463) | fn rewrites_nested_generics_for_each_phase() { function preserves_unsplit_types (line 2490) | fn preserves_unsplit_types() { function clears_skip_serializing_if_attribute_after_phase_split (line 2503) | fn clears_skip_serializing_if_attribute_after_phase_split() { function phase_split_field_passes_unified_mode_validation (line 2522) | fn phase_split_field_passes_unified_mode_validation() { function resolves_explicit_phased_datatypes_without_named_types (line 2543) | fn resolves_explicit_phased_datatypes_without_named_types() { function assert_named_reference (line 2555) | fn assert_named_reference(dt: &DataType, types: &Types, expected_name: &... function named_field_type (line 2569) | fn named_field_type<'a>(dt: &'a DataType, types: &'a Types, field_name: ... function field_has_skip_serializing_if (line 2589) | fn field_has_skip_serializing_if(dt: &DataType, types: &Types, field_nam... function first_generic_type (line 2612) | fn first_generic_type(dt: &DataType) -> &DataType { function list_item_type (line 2628) | fn list_item_type(dt: &DataType) -> &DataType { function formatted_phases (line 2644) | fn formatted_phases(types: Types) -> Types { FILE: specta-serde/src/parser.rs constant CONTAINER_RENAME_SERIALIZE (line 6) | const CONTAINER_RENAME_SERIALIZE: &str = "serde:container:rename_seriali... constant CONTAINER_RENAME_DESERIALIZE (line 7) | const CONTAINER_RENAME_DESERIALIZE: &str = "serde:container:rename_deser... constant CONTAINER_RENAME_ALL_SERIALIZE (line 8) | const CONTAINER_RENAME_ALL_SERIALIZE: &str = "serde:container:rename_all... constant CONTAINER_RENAME_ALL_DESERIALIZE (line 9) | const CONTAINER_RENAME_ALL_DESERIALIZE: &str = "serde:container:rename_a... constant CONTAINER_RENAME_ALL_FIELDS_SERIALIZE (line 10) | const CONTAINER_RENAME_ALL_FIELDS_SERIALIZE: &str = "serde:container:ren... constant CONTAINER_RENAME_ALL_FIELDS_DESERIALIZE (line 11) | const CONTAINER_RENAME_ALL_FIELDS_DESERIALIZE: &str = constant CONTAINER_TAG (line 13) | const CONTAINER_TAG: &str = "serde:container:tag"; constant CONTAINER_CONTENT (line 14) | const CONTAINER_CONTENT: &str = "serde:container:content"; constant CONTAINER_UNTAGGED (line 15) | const CONTAINER_UNTAGGED: &str = "serde:container:untagged"; constant CONTAINER_DEFAULT (line 16) | const CONTAINER_DEFAULT: &str = "serde:container:default"; constant CONTAINER_TRANSPARENT (line 17) | const CONTAINER_TRANSPARENT: &str = "serde:container:transparent"; constant CONTAINER_FROM_TYPE_SRC (line 18) | const CONTAINER_FROM_TYPE_SRC: &str = "serde:container:from_type_src"; constant CONTAINER_FROM_RESOLVED (line 19) | const CONTAINER_FROM_RESOLVED: &str = "serde:container:from_resolved"; constant CONTAINER_TRY_FROM_TYPE_SRC (line 20) | const CONTAINER_TRY_FROM_TYPE_SRC: &str = "serde:container:try_from_type... constant CONTAINER_TRY_FROM_RESOLVED (line 21) | const CONTAINER_TRY_FROM_RESOLVED: &str = "serde:container:try_from_reso... constant CONTAINER_INTO_TYPE_SRC (line 22) | const CONTAINER_INTO_TYPE_SRC: &str = "serde:container:into_type_src"; constant CONTAINER_INTO_RESOLVED (line 23) | const CONTAINER_INTO_RESOLVED: &str = "serde:container:into_resolved"; constant CONTAINER_VARIANT_IDENTIFIER (line 24) | const CONTAINER_VARIANT_IDENTIFIER: &str = "serde:container:variant_iden... constant CONTAINER_FIELD_IDENTIFIER (line 25) | const CONTAINER_FIELD_IDENTIFIER: &str = "serde:container:field_identifi... constant VARIANT_RENAME_SERIALIZE (line 27) | const VARIANT_RENAME_SERIALIZE: &str = "serde:variant:rename_serialize"; constant VARIANT_RENAME_DESERIALIZE (line 28) | const VARIANT_RENAME_DESERIALIZE: &str = "serde:variant:rename_deseriali... constant VARIANT_ALIASES (line 29) | const VARIANT_ALIASES: &str = "serde:variant:aliases"; constant VARIANT_RENAME_ALL_SERIALIZE (line 30) | const VARIANT_RENAME_ALL_SERIALIZE: &str = "serde:variant:rename_all_ser... constant VARIANT_RENAME_ALL_DESERIALIZE (line 31) | const VARIANT_RENAME_ALL_DESERIALIZE: &str = "serde:variant:rename_all_d... constant VARIANT_SKIP_SERIALIZING (line 32) | const VARIANT_SKIP_SERIALIZING: &str = "serde:variant:skip_serializing"; constant VARIANT_SKIP_DESERIALIZING (line 33) | const VARIANT_SKIP_DESERIALIZING: &str = "serde:variant:skip_deserializi... constant VARIANT_HAS_SERIALIZE_WITH (line 34) | const VARIANT_HAS_SERIALIZE_WITH: &str = "serde:variant:has_serialize_wi... constant VARIANT_HAS_DESERIALIZE_WITH (line 35) | const VARIANT_HAS_DESERIALIZE_WITH: &str = "serde:variant:has_deserializ... constant VARIANT_HAS_WITH (line 36) | const VARIANT_HAS_WITH: &str = "serde:variant:has_with"; constant VARIANT_OTHER (line 37) | const VARIANT_OTHER: &str = "serde:variant:other"; constant VARIANT_UNTAGGED (line 38) | const VARIANT_UNTAGGED: &str = "serde:variant:untagged"; constant FIELD_RENAME_SERIALIZE (line 40) | const FIELD_RENAME_SERIALIZE: &str = "serde:field:rename_serialize"; constant FIELD_RENAME_DESERIALIZE (line 41) | const FIELD_RENAME_DESERIALIZE: &str = "serde:field:rename_deserialize"; constant FIELD_ALIASES (line 42) | const FIELD_ALIASES: &str = "serde:field:aliases"; constant FIELD_DEFAULT (line 43) | const FIELD_DEFAULT: &str = "serde:field:default"; constant FIELD_FLATTEN (line 44) | const FIELD_FLATTEN: &str = "serde:field:flatten"; constant FIELD_SKIP_SERIALIZING (line 45) | const FIELD_SKIP_SERIALIZING: &str = "serde:field:skip_serializing"; constant FIELD_SKIP_DESERIALIZING (line 46) | const FIELD_SKIP_DESERIALIZING: &str = "serde:field:skip_deserializing"; constant FIELD_SKIP_SERIALIZING_IF (line 47) | pub(crate) const FIELD_SKIP_SERIALIZING_IF: &str = "serde:field:skip_ser... constant FIELD_HAS_SERIALIZE_WITH (line 48) | const FIELD_HAS_SERIALIZE_WITH: &str = "serde:field:has_serialize_with"; constant FIELD_HAS_DESERIALIZE_WITH (line 49) | const FIELD_HAS_DESERIALIZE_WITH: &str = "serde:field:has_deserialize_wi... constant FIELD_HAS_WITH (line 50) | const FIELD_HAS_WITH: &str = "serde:field:has_with"; constant CONTAINER_ATTR_KEYS (line 52) | const CONTAINER_ATTR_KEYS: &[&str] = &[ constant VARIANT_ATTR_KEYS (line 74) | const VARIANT_ATTR_KEYS: &[&str] = &[ constant FIELD_ATTR_KEYS (line 89) | const FIELD_ATTR_KEYS: &[&str] = &[ type ConversionType (line 104) | pub struct ConversionType { type SerdeContainerAttrs (line 109) | pub struct SerdeContainerAttrs { method from_attributes (line 132) | pub fn from_attributes(attributes: &Attributes) -> Result... type SerdeVariantAttrs (line 177) | pub struct SerdeVariantAttrs { method from_attributes (line 193) | pub fn from_attributes(attributes: &Attributes) -> Result... type SerdeFieldAttrs (line 222) | pub struct SerdeFieldAttrs { method from_attributes (line 237) | pub fn from_attributes(attributes: &Attributes) -> Result... function get_string (line 258) | fn get_string(attributes: &Attributes, key: &str) -> Option { function get_strings (line 262) | fn get_strings(attributes: &Attributes, key: &str) -> Vec { function has_attr (line 269) | fn has_attr(attributes: &Attributes, key: &str) -> bool { function get_datatype (line 273) | fn get_datatype(attributes: &Attributes, key: &str) -> Option { function get_rename_rule (line 277) | fn get_rename_rule(attributes: &Attributes, key: &str) -> Result bool { FILE: specta-serde/src/phased.rs type Phased (line 28) | pub struct Phased(PhantomData<(Serialize, Deseri... type PhasedTy (line 31) | pub(crate) struct PhasedTy { function phased (line 37) | pub fn phased(serialize: DataType, deserialize: DataType) -> DataType { method definition (line 49) | fn definition(types: &mut Types) -> DataType { FILE: specta-serde/src/repr.rs type EnumRepr (line 10) | pub enum EnumRepr { method from_attrs (line 30) | pub(crate) fn from_attrs(attrs: &Attributes) -> Result { FILE: specta-serde/src/validate.rs type ApplyMode (line 16) | pub enum ApplyMode { function validate_for_mode (line 21) | pub fn validate_for_mode(types: &Types, mode: ApplyMode) -> Result<(), E... function validate_datatype_for_mode (line 40) | pub(crate) fn validate_datatype_for_mode( function validate_datatype_for_mode_shallow (line 55) | pub(crate) fn validate_datatype_for_mode_shallow( function inner (line 70) | fn inner( function validate_identifier_enum (line 367) | fn validate_identifier_enum(enm: &Enum, path: &str, mode: ApplyMode) -> ... function validate_container_attributes (line 426) | fn validate_container_attributes( function validate_variant_attributes (line 465) | fn validate_variant_attributes( function validate_field_attributes (line 499) | fn validate_field_attributes(field: &Field, path: String, mode: ApplyMod... function ensure_codec_override (line 541) | fn ensure_codec_override( function has_type_override (line 556) | fn has_type_override(attributes: &specta::datatype::Attributes) -> bool { function validate_enum (line 563) | fn validate_enum(enm: &Enum, types: &Types, path: String, mode: ApplyMod... function validate_untagged_variants (line 588) | fn validate_untagged_variants(enm: &Enum, path: &str) -> Result<(), Erro... function validate_other_variant (line 613) | fn validate_other_variant( function validate_internally_tag_enum (line 663) | fn validate_internally_tag_enum(enm: &Enum, types: &Types, path: String)... function validate_internally_tag_variant (line 671) | fn validate_internally_tag_variant( function validate_internally_tag_enum_datatype (line 708) | fn validate_internally_tag_enum_datatype( function named_reference_ty (line 752) | fn named_reference_ty<'a>( FILE: specta-swift/examples/advanced_unions.rs type ApiResult (line 13) | enum ApiResult { type Shape (line 37) | enum Shape { type Point (line 64) | struct Point { type Rectangle (line 70) | struct Rectangle { type LineStyle (line 76) | struct LineStyle { type Color (line 83) | struct Color { type Container (line 92) | enum Container { type Tree (line 101) | enum Tree { type JobStatus (line 112) | enum JobStatus { type MixedEnum (line 129) | enum MixedEnum { type Event (line 144) | enum Event { function main (line 165) | fn main() { FILE: specta-swift/examples/basic_types.rs type Primitives (line 13) | struct Primitives { type Status (line 48) | enum Status { type ApiResponse (line 64) | struct ApiResponse { type User (line 73) | struct User { type UserProfile (line 84) | struct UserProfile { type UserPreferences (line 93) | struct UserPreferences { type UserMetadata (line 101) | struct UserMetadata { function main (line 108) | fn main() { FILE: specta-swift/examples/comments_example.rs type ApiResponse (line 17) | enum ApiResponse { type User (line 69) | struct User { function main (line 107) | fn main() { FILE: specta-swift/examples/comprehensive_demo.rs type Task (line 15) | struct Task { type TaskStatus (line 33) | enum TaskStatus { type Priority (line 69) | enum Priority { type User (line 79) | struct User { type UserProfile (line 93) | struct UserProfile { type UserPreferences (line 104) | struct UserPreferences { type Theme (line 113) | enum Theme { type NotificationSettings (line 122) | struct NotificationSettings { type NotificationFrequency (line 132) | enum NotificationFrequency { type PrivacySettings (line 142) | struct PrivacySettings { type Visibility (line 150) | enum Visibility { type DataSharing (line 159) | struct DataSharing { type DisplaySettings (line 168) | struct DisplaySettings { type UserRole (line 178) | enum UserRole { type AdminLevel (line 201) | enum AdminLevel { type TaskMetadata (line 210) | struct TaskMetadata { type Attachment (line 222) | struct Attachment { type SubTask (line 233) | struct SubTask { type SubTaskStatus (line 247) | enum SubTaskStatus { type ReviewComment (line 256) | struct ReviewComment { type ApiResponse (line 269) | struct ApiResponse { type ResponseStatus (line 278) | enum ResponseStatus { type ResponseMetadata (line 291) | struct ResponseMetadata { type PaginationInfo (line 301) | struct PaginationInfo { type SystemHealth (line 312) | struct SystemHealth { type HealthStatus (line 322) | enum HealthStatus { type ServiceStatus (line 331) | struct ServiceStatus { type SystemMetrics (line 341) | struct SystemMetrics { function main (line 351) | fn main() { FILE: specta-swift/examples/configuration_options.rs type User (line 13) | struct User { type ApiResponse (line 21) | enum ApiResponse { type GenericContainer (line 28) | struct GenericContainer { function main (line 34) | fn main() { FILE: specta-swift/examples/simple_usage.rs type User (line 8) | struct User { type UserRole (line 16) | enum UserRole { type ApiResult (line 24) | enum ApiResult { function main (line 30) | fn main() { FILE: specta-swift/examples/special_types.rs type IndexerMetrics (line 15) | struct IndexerMetrics { type EventLog (line 32) | struct EventLog { type TaskConfig (line 45) | struct TaskConfig { type PerformanceMetrics (line 60) | struct PerformanceMetrics { type ApiResponse (line 75) | struct ApiResponse { type JobStatus (line 90) | enum JobStatus { type SystemHealth (line 117) | struct SystemHealth { function main (line 132) | fn main() { FILE: specta-swift/examples/string_enums.rs type HttpStatus (line 13) | enum HttpStatus { type Environment (line 34) | enum Environment { type ApiResult (line 47) | enum ApiResult { type UserAction (line 60) | enum UserAction { type JobState (line 82) | enum JobState { type NotificationType (line 99) | enum NotificationType { type Result (line 122) | enum Result { type EventType (line 131) | enum EventType { type FileType (line 151) | enum FileType { function main (line 166) | fn main() { FILE: specta-swift/src/error.rs type Error (line 7) | pub enum Error { method format (line 43) | pub(crate) fn format(message: &'static str, source: specta::FormatErro... FILE: specta-swift/src/primitives.rs function string_literal_raw_value (line 13) | fn string_literal_raw_value(dt: &DataType) -> Option<&str> { function enum_string_raw_value (line 41) | fn enum_string_raw_value(variant: &Variant) -> Option<&str> { function resolved_string_enum (line 63) | fn resolved_string_enum(e: &Enum) -> Option> { function serde_variant_payload (line 72) | fn serde_variant_payload<'a>(variant_name: &str, variant: &'a Variant) -... function self_named_struct_payload (line 88) | fn self_named_struct_payload<'a>(variant_name: &str, dt: &'a DataType) -... function normalized_payload (line 108) | fn normalized_payload<'a>(variant_name: &str, payload: &'a DataType) -> ... function is_unit_payload (line 118) | fn is_unit_payload(variant_name: &str, dt: &DataType) -> bool { function enum_payload_to_swift_type (line 140) | fn enum_payload_to_swift_type( function should_emit_variant_wrapper (line 161) | fn should_emit_variant_wrapper(variant_name: &str, variant: &Variant) ->... function wrapper_variant_fields (line 186) | fn wrapper_variant_fields<'a>(variant_name: &str, variant: &'a Variant) ... function is_unit_like_variant (line 198) | fn is_unit_like_variant(variant_name: &str, variant: &Variant) -> bool { function export_type (line 218) | pub fn export_type( function datatype_to_swift (line 383) | pub fn datatype_to_swift( function apply_datatype_format (line 421) | fn apply_datatype_format( function apply_datatype_format_children (line 465) | fn apply_datatype_format_children( function map_fields (line 515) | fn map_fields( function contains_generic_reference (line 541) | fn contains_generic_reference(dt: &DataType) -> bool { function fields_contain_generic_reference (line 567) | fn fields_contain_generic_reference(fields: &Fields) -> bool { function contains_recursive_reference (line 581) | fn contains_recursive_reference(dt: &DataType) -> bool { function fields_contain_recursive_reference (line 609) | fn fields_contain_recursive_reference(fields: &Fields) -> bool { function is_duration_struct (line 624) | pub fn is_duration_struct(s: &specta::datatype::Struct) -> bool { function primitive_to_swift (line 642) | fn primitive_to_swift(primitive: &Primitive) -> Result { function list_to_swift (line 701) | fn list_to_swift( function map_to_swift (line 713) | fn map_to_swift( function struct_to_swift (line 726) | fn struct_to_swift( function enum_to_swift (line 810) | fn enum_to_swift( function generate_enum_structs (line 915) | fn generate_enum_structs( function to_pascal_case (line 979) | fn to_pascal_case(s: &str) -> String { function tuple_to_swift (line 1004) | fn tuple_to_swift( function reference_to_swift (line 1027) | fn reference_to_swift( function generic_to_swift (line 1088) | fn generic_to_swift( function generate_enum_codable_impl (line 1099) | fn generate_enum_codable_impl( FILE: specta-swift/src/swift.rs type Swift (line 15) | pub struct Swift { method fmt (line 31) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method new (line 105) | pub fn new() -> Self { method header (line 110) | pub fn header(mut self, header: impl Into>) -> Self { method indent (line 116) | pub fn indent(mut self, style: IndentStyle) -> Self { method naming (line 122) | pub fn naming(mut self, convention: NamingConvention) -> Self { method generics (line 128) | pub fn generics(mut self, style: GenericStyle) -> Self { method optionals (line 134) | pub fn optionals(mut self, style: OptionalStyle) -> Self { method add_protocol (line 140) | pub fn add_protocol(mut self, protocol: impl Into>) ... method export (line 146) | pub fn export(&self, types: &Types, format: impl Format) -> Result Self { type NamingConvention (line 60) | pub enum NamingConvention { method convert (line 204) | pub fn convert(&self, name: &str) -> String { method convert_to_camel_case (line 213) | pub fn convert_to_camel_case(&self, name: &str) -> String { method convert_field (line 218) | pub fn convert_field(&self, name: &str) -> String { method convert_enum_case (line 227) | pub fn convert_enum_case(&self, name: &str) -> String { method to_camel_case (line 236) | fn to_camel_case(&self, name: &str) -> String { method to_pascal_case (line 289) | fn to_pascal_case(&self, name: &str) -> String { method to_snake_case (line 303) | fn to_snake_case(&self, name: &str) -> String { type GenericStyle (line 72) | pub enum GenericStyle { type OptionalStyle (line 82) | pub enum OptionalStyle { method default (line 91) | fn default() -> Self { function format_types (line 196) | fn format_types<'a>(types: &'a Types, format: &'a dyn Format) -> Result<... function needs_duration_helper (line 320) | fn needs_duration_helper(types: &Types) -> bool { function generate_duration_helper (line 351) | fn generate_duration_helper() -> String { FILE: specta-swift/tests/advanced_unions.rs type Point (line 7) | struct Point { type Circle (line 13) | struct Circle { type Rectangle (line 19) | struct Rectangle { type Line (line 25) | struct Line { type Shape (line 31) | enum Shape { type ApiResponse (line 61) | enum ApiResponse { type DatabaseResult (line 90) | enum DatabaseResult { function test_complex_unions (line 120) | fn test_complex_unions() { function test_union_with_generics (line 173) | fn test_union_with_generics() { function test_union_naming_conventions (line 197) | fn test_union_naming_conventions() { FILE: specta-swift/tests/basic.rs type User (line 7) | struct User { type Status (line 14) | enum Status { function test_basic_export (line 22) | fn test_basic_export() { FILE: specta-swift/tests/common_types.rs type TestStruct (line 8) | struct TestStruct { type TestEnum (line 19) | enum TestEnum { function test_common_types (line 26) | fn test_common_types() { function test_unsupported_types (line 45) | fn test_unsupported_types() { FILE: specta-swift/tests/comprehensive.rs type User (line 7) | struct User { type UserMetadata (line 19) | struct UserMetadata { type UserPreferences (line 26) | struct UserPreferences { type UserRole (line 33) | enum UserRole { type ApiResponse (line 42) | enum ApiResponse { type ApiResult (line 49) | struct ApiResult { function test_comprehensive_export (line 56) | fn test_comprehensive_export() { function test_naming_conventions (line 113) | fn test_naming_conventions() { function test_swift_configuration (line 127) | fn test_swift_configuration() { FILE: specta-swift/tests/multiline_comments.rs type SdPath (line 16) | enum SdPath { type SimpleStruct (line 35) | struct SimpleStruct { function test_multiline_comments (line 41) | fn test_multiline_comments() { FILE: specta-swift/tests/string_enum_implementation.rs type JobStatus (line 9) | pub enum JobStatus { type Priority (line 20) | pub enum Priority { type LogLevel (line 28) | pub enum LogLevel { type UserRole (line 37) | pub enum UserRole { type ApiStatus (line 46) | pub enum ApiStatus { type DatabaseStatus (line 54) | pub enum DatabaseStatus { type MixedEnum (line 63) | pub enum MixedEnum { type RegularEnum (line 71) | pub enum RegularEnum { function test_string_enum_snake_case (line 78) | fn test_string_enum_snake_case() { function test_string_enum_uppercase (line 96) | fn test_string_enum_uppercase() { function test_string_enum_camel_case (line 112) | fn test_string_enum_camel_case() { function test_string_enum_pascal_case (line 129) | fn test_string_enum_pascal_case() { function test_string_enum_kebab_case (line 146) | fn test_string_enum_kebab_case() { function test_string_enum_screaming_kebab_case (line 162) | fn test_string_enum_screaming_kebab_case() { function test_mixed_enum_not_string (line 178) | fn test_mixed_enum_not_string() { function test_regular_enum_not_string (line 205) | fn test_regular_enum_not_string() { function test_all_string_enums_together (line 220) | fn test_all_string_enums_together() { FILE: specta-swift/tests/string_enum_test.rs type JobStatus (line 10) | enum JobStatus { type RegularEnum (line 19) | enum RegularEnum { function test_string_enum_generation (line 26) | fn test_string_enum_generation() { FILE: specta-swift/tests/struct_reuse_test.rs type UserData (line 7) | struct UserData { type ApiResponse (line 14) | enum ApiResponse { type ApiRequest (line 21) | struct ApiRequest { function test_struct_reuse_between_standalone_and_enum (line 27) | fn test_struct_reuse_between_standalone_and_enum() { function test_struct_reuse_with_different_ordering (line 64) | fn test_struct_reuse_with_different_ordering() { FILE: specta-swift/tests/struct_variants.rs type Event (line 8) | pub enum Event { type ApiResponse (line 25) | pub enum ApiResponse { function test_struct_variants_generation (line 41) | fn test_struct_variants_generation() { FILE: specta-swift/tests/unions.rs type User (line 7) | struct User { type Admin (line 14) | struct Admin { type Guest (line 22) | struct Guest { type UserType (line 28) | enum UserType { type ApiResult (line 56) | enum ApiResult { type ComplexUnion (line 72) | enum ComplexUnion { function test_enum_with_nested_structs (line 101) | fn test_enum_with_nested_structs() { function test_swift_union_syntax (line 149) | fn test_swift_union_syntax() { FILE: specta-swift/tests/uuid_simple.rs type WithUuid (line 8) | struct WithUuid { type WithChrono (line 14) | struct WithChrono { function test_uuid_support (line 21) | fn test_uuid_support() { function test_chrono_support (line 34) | fn test_chrono_support() { FILE: specta-swift/tests/uuid_test.rs type WithUuid (line 9) | struct WithUuid { function test_uuid_support (line 15) | fn test_uuid_support() { type WithChrono (line 28) | struct WithChrono { function test_chrono_support (line 35) | fn test_chrono_support() { FILE: specta-tags/src/lib.rs type Tag (line 53) | pub enum Tag { method fmt (line 67) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type TransformPlan (line 82) | pub struct TransformPlan { method analyze (line 88) | pub fn analyze(dt: &DataType, types: &Types) -> Self { method map (line 103) | pub fn map<'a>(&self, t: &'a str) -> Cow<'a, str> { type PlanNode (line 123) | enum PlanNode { method is_identity (line 135) | fn is_identity(&self) -> bool { type ObjectFieldPlan (line 148) | enum ObjectFieldPlan { method is_identity (line 153) | fn is_identity(&self) -> bool { type EnumVariantPlan (line 161) | struct EnumVariantPlan { type EnumVariantMatcher (line 167) | enum EnumVariantMatcher { type KnownNamedTag (line 174) | enum KnownNamedTag { constant BUILTIN_MATCHERS (line 180) | const BUILTIN_MATCHERS: &[(&str, &str, KnownNamedTag)] = &[ type Analyzer (line 204) | struct Analyzer; method analyze (line 207) | fn analyze( method analyze_fields (line 334) | fn analyze_fields( method resolve_named_tag (line 381) | fn resolve_named_tag(&self, module_path: &str, name: &str) -> Option String { method render_object (line 475) | fn render_object(&mut self, fields: &[ObjectFieldPlan], input: &str) -... method render_leaf (line 496) | fn render_leaf(&mut self, tag: &Tag, input: &str) -> String { method render_enum (line 505) | fn render_enum(&mut self, variants: &[EnumVariantPlan], input: &str) -... method next_ident (line 547) | fn next_ident(&mut self, prefix: &str) -> String { function js_string (line 553) | fn js_string(value: &str) -> String { function string_literal (line 557) | fn string_literal(ty: &DataType) -> Option { type Inner (line 578) | struct Inner { type Root (line 586) | struct Root { function map_renders_trusting_transforms (line 595) | fn map_renders_trusting_transforms() { type TaggedEnum (line 623) | enum TaggedEnum { type AdjacentEnum (line 629) | enum AdjacentEnum { function map_renders_from_serde_applied_internal_enum_shape (line 634) | fn map_renders_from_serde_applied_internal_enum_shape() { function map_renders_from_serde_applied_adjacent_enum_shape (line 655) | fn map_renders_from_serde_applied_adjacent_enum_shape() { FILE: specta-typescript/bindings.ts type MyOtherType (line 2) | type MyOtherType = { type MyType (line 6) | type MyType = { FILE: specta-typescript/src/branded.rs type Branded (line 99) | pub struct Branded { method new (line 106) | pub fn new(brand: impl Into>, ty: DataType) -> Self { method brand (line 114) | pub fn brand(&self) -> &Cow<'static, str> { method ty (line 119) | pub fn ty(&self) -> &DataType { FILE: specta-typescript/src/error.rs type Error (line 44) | pub struct Error { method invalid_map_key (line 139) | pub(crate) fn invalid_map_key( method framework (line 152) | pub fn framework( method format (line 165) | pub(crate) fn format( method bigint_forbidden (line 177) | pub(crate) fn bigint_forbidden(path: String) -> Self { method invalid_name (line 183) | pub(crate) fn invalid_name(path: String, name: impl Into Self { method metadata (line 212) | pub(crate) fn metadata(path: PathBuf, source: io::Error) -> Self { method remove_file (line 218) | pub(crate) fn remove_file(path: PathBuf, source: io::Error) -> Self { method remove_dir (line 224) | pub(crate) fn remove_dir(path: PathBuf, source: io::Error) -> Self { method unsupported_opaque_reference (line 230) | pub(crate) fn unsupported_opaque_reference(reference: OpaqueReference)... method dangling_named_reference (line 236) | pub(crate) fn dangling_named_reference(reference: String) -> Self { method infinite_recursive_inline_type (line 242) | pub(crate) fn infinite_recursive_inline_type(reference: String) -> Self { method forbidden_name_legacy (line 248) | pub(crate) fn forbidden_name_legacy(path: ExportPath, name: &'static s... method invalid_name_legacy (line 254) | pub(crate) fn invalid_name_legacy(path: ExportPath, name: String) -> S... method unable_to_export (line 260) | pub(crate) fn unable_to_export(layout: Layout) -> Self { method from (line 268) | fn from(error: io::Error) -> Self { method from (line 276) | fn from(error: std::fmt::Error) -> Self { method fmt (line 284) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method fmt (line 385) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method source (line 391) | fn source(&self) -> Option<&(dyn error::Error + 'static)> { type FrameworkSource (line 48) | type FrameworkSource = Box; constant BIGINT_DOCS_URL (line 49) | const BIGINT_DOCS_URL: &str = type ErrorKind (line 53) | enum ErrorKind { function format_location (line 407) | fn format_location(location: Location<'static>) -> String { FILE: specta-typescript/src/exporter.rs type Layout (line 20) | pub enum Layout { method fmt (line 34) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type RuntimeFn (line 41) | struct RuntimeFn(Arc Result) -> fmt::Result { type BrandedTypeImpl (line 51) | pub struct BrandedTypeImpl( method fmt (line 60) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Exporter (line 68) | pub struct Exporter { method default (line 81) | pub(crate) fn default() -> Exporter { method framework_prelude (line 95) | pub fn framework_prelude(mut self, prelude: impl Into>) -> Self { method layout (line 172) | pub fn layout(mut self, layout: Layout) -> Self { method export (line 180) | pub fn export(&self, types: &Types, format: impl Format) -> Result &Exporter { method as_mut (line 726) | fn as_mut(&mut self) -> &mut Exporter { function reference_module_path (line 480) | fn reference_module_path(types: &Types, r: &NamedReference) -> Result(types: &'a Types, format: &dyn Format) -> Result { function fmt (line 740) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function as_ref (line 746) | fn as_ref(&self) -> &Exporter { type Target (line 752) | type Target = Exporter; method deref (line 754) | fn deref(&self) -> &Self::Target { function inline (line 761) | pub fn inline(&self, dt: &DataType) -> Result { function reference (line 767) | pub fn reference(&self, r: &Reference) -> Result { type FrameworkExporter (line 777) | pub struct FrameworkExporter<'a> { function fmt (line 788) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function as_ref (line 794) | fn as_ref(&self) -> &Exporter { type Target (line 800) | type Target = Exporter; method deref (line 802) | fn deref(&self) -> &Self::Target { function render_types (line 812) | pub fn render_types(&mut self) -> Result, Error> { function inline (line 826) | pub fn inline(&self, dt: &DataType) -> Result { function reference (line 832) | pub fn reference(&self, r: &Reference) -> Result { function export (line 841) | pub fn export<'a>( type Module (line 853) | struct Module<'a> { function build_module_graph (line 859) | fn build_module_graph(types: &Types) -> Module<'_> { function render_file_header (line 895) | fn render_file_header(exporter: &Exporter) -> Result { function render_types (line 909) | fn render_types( function render_flat_types (line 1033) | fn render_flat_types<'a>( function collect_existing_files (line 1061) | fn collect_existing_files(root: &Path) -> Result, Error> { function is_generated_specta_file (line 1090) | fn is_generated_specta_file(path: &Path, exporter: &Exporter) -> Result<... function remove_empty_dirs (line 1101) | fn remove_empty_dirs(path: &Path, root: &Path) -> Result<(), Error> { function cleanup_stale_files (line 1137) | fn cleanup_stale_files( function exported_type_name (line 1161) | fn exported_type_name(exporter: &Exporter, ndt: &NamedDataType) -> Cow<'... function module_alias (line 1173) | pub(crate) fn module_alias(module_path: &str) -> String { function module_import_statement (line 1181) | fn module_import_statement( function module_import_block (line 1200) | fn module_import_block( function module_import_path (line 1227) | fn module_import_path(from_module_path: &str, to_module_path: &str) -> S... FILE: specta-typescript/src/jsdoc.rs type JSDoc (line 10) | pub struct JSDoc(Exporter); method from (line 27) | fn from(mut value: Exporter) -> Self { method new (line 35) | pub fn new() -> Self { method header (line 42) | pub fn header(self, header: impl Into>) -> Self { method layout (line 47) | pub fn layout(self, layout: Layout) -> Self { method branded_type_impl (line 54) | pub fn branded_type_impl( method export (line 67) | pub fn export(&self, types: &Types, format: impl Format) -> Result &Exporter { method as_mut (line 93) | fn as_mut(&mut self) -> &mut Exporter { method default (line 13) | fn default() -> Self { method from (line 21) | fn from(value: JSDoc) -> Self { FILE: specta-typescript/src/legacy.rs type PathItem (line 20) | pub(crate) enum PathItem { type ExportContext (line 28) | pub(crate) struct ExportContext<'a> { function with (line 34) | pub(crate) fn with(&self, item: PathItem) -> Self { function export_path (line 41) | pub(crate) fn export_path(&self) -> ExportPath { type ExportPath (line 48) | pub struct ExportPath(String); method new (line 51) | pub(crate) fn new(path: &[PathItem]) -> Self { method fmt (line 85) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method fmt (line 91) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method eq (line 79) | fn eq(&self, other: &Self) -> bool { type Result (line 97) | pub(crate) type Result = std::result::Result; type Output (line 99) | pub(crate) type Output = Result; function inner_comments (line 102) | fn inner_comments( function datatype_inner (line 130) | pub(crate) fn datatype_inner( function unnamed_fields_datatype (line 141) | fn unnamed_fields_datatype( function tuple_datatype (line 210) | pub(crate) fn tuple_datatype( function struct_datatype (line 231) | pub(crate) fn struct_datatype( function enum_variant_datatype (line 369) | fn enum_variant_datatype( type EnumVariantOutput (line 528) | struct EnumVariantOutput { type DiscriminatorAnalysis (line 534) | struct DiscriminatorAnalysis { type VariantTypeOverride (line 541) | struct VariantTypeOverride<'a> { type DiscriminatorValue (line 547) | enum DiscriminatorValue { function analyze_discriminator (line 552) | fn analyze_discriminator( function variant_discriminator (line 597) | fn variant_discriminator(variant: &Variant) -> Option<(String, Discrimin... function string_literal_datatype_value (line 613) | fn string_literal_datatype_value(ty: &DataType) -> Option { function exclude_known_literals_type (line 632) | fn exclude_known_literals_type(literals: &[String]) -> Option { function untagged_strict_keys (line 646) | fn untagged_strict_keys(variant: &Variant) -> Option> { function has_anonymous_variant (line 665) | fn has_anonymous_variant(variants: &[&(Cow<'static, str>, Variant)]) -> ... function strictify_enum_variants (line 669) | fn strictify_enum_variants(variants: &mut [EnumVariantOutput]) { function enum_datatype (line 699) | pub(crate) fn enum_datatype( function object_field_to_ts (line 788) | fn object_field_to_ts( function inline_reference_docs (line 831) | fn inline_reference_docs<'a>( function sanitise_key (line 854) | fn sanitise_key<'a>(field_name: Cow<'static, str>, force_string: bool) -... function is_identifier (line 864) | pub(crate) fn is_identifier(name: &str) -> bool { function escape_typescript_string_literal (line 874) | pub(crate) fn escape_typescript_string_literal(value: &str) -> Cow<'_, s... function sanitise_type_name (line 901) | pub(crate) fn sanitise_type_name(ctx: ExportContext, ident: &str) -> Out... constant STRING (line 929) | const STRING: &str = "string"; constant NULL (line 930) | const NULL: &str = "null"; constant NEVER (line 931) | const NEVER: &str = "never"; function js_doc (line 934) | pub(crate) fn js_doc(s: &mut String, docs: &str, deprecated: Option<&Dep... function escape_jsdoc_text (line 978) | pub(crate) fn escape_jsdoc_text(text: &str) -> Cow<'_, str> { function deprecated_details (line 986) | pub(crate) fn deprecated_details(typ: &Deprecated) -> Option { FILE: specta-typescript/src/map_keys.rs function validate_map_key (line 10) | pub(crate) fn validate_map_key( function validate_map_key_inner (line 18) | fn validate_map_key_inner( function substitute_generics (line 178) | fn substitute_generics(dt: &mut DataType, generics: &[(Generic, DataType... function substitute_field_generics (line 222) | fn substitute_field_generics(fields: &mut Fields, generics: &[(Generic, ... function primitive_is_valid_key (line 242) | fn primitive_is_valid_key(primitive: Primitive) -> bool { function invalid_primitive_reason (line 265) | fn invalid_primitive_reason(primitive: Primitive) -> &'static str { FILE: specta-typescript/src/opaque.rs type Define (line 6) | pub(crate) struct Define(pub(crate) Cow<'static, str>); type Any (line 9) | pub(crate) struct Any; type Unknown (line 12) | pub(crate) struct Unknown; type Never (line 15) | pub(crate) struct Never; type Number (line 18) | pub(crate) struct Number; function define (line 23) | pub fn define(raw: impl Into>) -> Reference { FILE: specta-typescript/src/primitives.rs function export (line 40) | pub fn export<'a>( function export_internal (line 51) | pub(crate) fn export_internal<'a>( function export_single_internal (line 95) | fn export_single_internal( function inline (line 173) | pub fn inline( function typedef_internal (line 196) | pub(crate) fn typedef_internal( function append_jsdoc_properties (line 211) | fn append_jsdoc_properties( function push_jsdoc_property (line 328) | fn push_jsdoc_property( function push_jsdoc_type (line 351) | fn push_jsdoc_type(s: &mut String, ty: &str, indent: &str) { function jsdoc_property_name (line 373) | fn jsdoc_property_name(name: &str, optional: bool) -> String { function append_typedef_body (line 383) | fn append_typedef_body( function write_generic_parameters (line 444) | fn write_generic_parameters( function jsdoc_description (line 484) | fn jsdoc_description(docs: &str, deprecated: Option<&Deprecated>) -> Opt... function reference (line 515) | pub fn reference( function datatype_with_inline_attr (line 535) | pub(crate) fn datatype_with_inline_attr( function write_generic_reference (line 574) | fn write_generic_reference(s: &mut String, generic: &GenericReference) { function scoped_reference_generics (line 578) | fn scoped_reference_generics( function named_reference_generics (line 593) | fn named_reference_generics(r: &NamedReference) -> Result<&[(GenericRefe... function named_reference_ty (line 601) | fn named_reference_ty<'a>(types: &'a Types, r: &'a NamedReference) -> Re... function resolve_scoped_generic_default (line 615) | fn resolve_scoped_generic_default( function resolved_reference_generics (line 628) | fn resolved_reference_generics( function shallow_inline_datatype (line 666) | fn shallow_inline_datatype( type DatatypeRenderer (line 874) | type DatatypeRenderer = fn( function shallow_intersection_part_datatype (line 886) | fn shallow_intersection_part_datatype( function intersection_dt (line 915) | fn intersection_dt( function inline_datatype (line 949) | fn inline_datatype( function datatype (line 1141) | pub(crate) fn datatype( function primitive_dt (line 1228) | fn primitive_dt(p: &Primitive, location: Vec>) -> Resu... function list_dt (line 1243) | fn list_dt( function map_key_datatype (line 1328) | fn map_key_datatype( function map_dt (line 1357) | fn map_dt( function map_key_path (line 1430) | fn map_key_path(location: &[Cow<'static, str>]) -> String { function map_key_render_type (line 1438) | fn map_key_render_type(dt: DataType) -> DataType { function bool_key_literal_datatype (line 1446) | fn bool_key_literal_datatype() -> DataType { function enum_dt (line 1457) | fn enum_dt( function tuple_dt (line 1880) | fn tuple_dt( function reference_dt (line 1920) | fn reference_dt( function reference_opaque_dt (line 1944) | fn reference_opaque_dt( function reference_named_dt (line 2000) | fn reference_named_dt( FILE: specta-typescript/src/references.rs function with_module_path (line 10) | pub(crate) fn with_module_path(module_path: &str, func: impl FnOnce()... function current_module_path (line 34) | pub(crate) fn current_module_path() -> Option { function collect_references (line 41) | pub fn collect_references(func: impl FnOnce() -> R) -> (R, HashSet(T); method definition (line 49) | fn definition(_: &mut Types) -> DataType { method fmt (line 55) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method clone (line 61) | fn clone(&self) -> Self { method default (line 67) | fn default() -> Self { function serialize (line 75) | fn serialize(&self, serializer: S) -> Result function deserialize (line 86) | fn deserialize(deserializer: D) -> Result type Unknown (line 124) | pub struct Unknown(T); method definition (line 127) | fn definition(_: &mut Types) -> DataType { method fmt (line 133) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method clone (line 139) | fn clone(&self) -> Self { method default (line 145) | fn default() -> Self { function serialize (line 153) | fn serialize(&self, serializer: S) -> Result function deserialize (line 164) | fn deserialize(deserializer: D) -> Result type Never (line 202) | pub struct Never(T); method definition (line 205) | fn definition(_: &mut Types) -> DataType { method fmt (line 211) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method clone (line 217) | fn clone(&self) -> Self { method default (line 223) | fn default() -> Self { function serialize (line 231) | fn serialize(&self, serializer: S) -> Result function deserialize (line 242) | fn deserialize(deserializer: D) -> Result type Number (line 283) | pub struct Number(T); method definition (line 286) | fn definition(_: &mut Types) -> DataType { method fmt (line 292) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method clone (line 298) | fn clone(&self) -> Self { method default (line 304) | fn default() -> Self { function serialize (line 312) | fn serialize(&self, serializer: S) -> Result function deserialize (line 323) | fn deserialize(deserializer: D) -> Result FILE: specta-typescript/src/typescript.rs type Typescript (line 10) | pub struct Typescript(Exporter); method from (line 25) | fn from(mut value: Exporter) -> Self { method new (line 33) | pub fn new() -> Self { method header (line 40) | pub fn header(self, header: impl Into>) -> Self { method layout (line 45) | pub fn layout(self, layout: Layout) -> Self { method branded_type_impl (line 52) | pub fn branded_type_impl( method export (line 65) | pub fn export(&self, types: &Types, format: impl Format) -> Result &Exporter { method as_mut (line 91) | fn as_mut(&mut self) -> &mut Exporter { method default (line 13) | fn default() -> Self { method from (line 19) | fn from(value: Typescript) -> Self { FILE: specta-util/src/array.rs type FixedArray (line 41) | pub struct FixedArray(PhantomData<[T; N]>); method definition (line 44) | fn definition(types: &mut Types) -> DataType { FILE: specta-util/src/remapper.rs type Remapper (line 49) | pub struct Remapper { method new (line 55) | pub fn new() -> Self { method rule (line 62) | pub fn rule(mut self, from: DataType, to: DataType) -> Self { method remap_dt (line 68) | pub fn remap_dt(&self, mut dt: DataType) -> DataType { method remap_types (line 74) | pub fn remap_types(&self, types: Types) -> Types { method remap_internal (line 88) | fn remap_internal(&self, dt: &mut DataType) { method remap_rules (line 119) | fn remap_rules(&self, dt: &mut DataType) { method remap_fields (line 127) | fn remap_fields(&self, fields: &mut Fields) { method remap_reference (line 147) | fn remap_reference(&self, reference: &mut Reference) { function remaps_multiple_rules_in_one_crawl (line 174) | fn remaps_multiple_rules_in_one_crawl() { function rules_are_piped_in_registration_order (line 195) | fn rules_are_piped_in_registration_order() { function replacement_is_recrawled (line 205) | fn replacement_is_recrawled() { function remaps_named_type_bodies (line 218) | fn remaps_named_type_bodies() { FILE: specta-zod/src/error.rs type Error (line 9) | pub struct Error { method framework (line 63) | pub fn framework( method bigint_forbidden (line 75) | pub(crate) fn bigint_forbidden(path: String) -> Self { method invalid_name (line 81) | pub(crate) fn invalid_name(path: String, name: impl Into Self { method metadata (line 119) | pub(crate) fn metadata(path: PathBuf, source: io::Error) -> Self { method remove_file (line 125) | pub(crate) fn remove_file(path: PathBuf, source: io::Error) -> Self { method remove_dir (line 131) | pub(crate) fn remove_dir(path: PathBuf, source: io::Error) -> Self { method unsupported_opaque_reference (line 137) | pub(crate) fn unsupported_opaque_reference(reference: OpaqueReference)... method dangling_named_reference (line 143) | pub(crate) fn dangling_named_reference(reference: String) -> Self { method unable_to_export (line 149) | pub(crate) fn unable_to_export(layout: Layout) -> Self { method format (line 155) | pub(crate) fn format( method from (line 169) | fn from(error: io::Error) -> Self { method from (line 177) | fn from(source: std::fmt::Error) -> Self { method fmt (line 188) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method fmt (line 261) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method source (line 267) | fn source(&self) -> Option<&(dyn error::Error + 'static)> { type FrameworkSource (line 13) | type FrameworkSource = Box; type ErrorKind (line 16) | enum ErrorKind { function format_location (line 280) | fn format_location(location: Location<'static>) -> String { FILE: specta-zod/src/opaque.rs type Define (line 6) | pub(crate) struct Define(pub(crate) Cow<'static, str>); type Any (line 9) | pub(crate) struct Any; type Unknown (line 12) | pub(crate) struct Unknown; type Never (line 15) | pub(crate) struct Never; function define (line 20) | pub fn define(raw: impl Into>) -> Reference { FILE: specta-zod/src/primitives.rs type TypeRenderStack (line 17) | pub(crate) type TypeRenderStack = Vec<(Cow<'static, str>, Cow<'static, s... function named_reference_generics (line 19) | fn named_reference_generics(r: &NamedReference) -> Result<&[(GenericRefe... function named_reference_ty (line 29) | fn named_reference_ty<'a>(types: &'a Types, r: &'a NamedReference) -> Re... function export (line 43) | pub fn export<'a>( function export_internal (line 62) | pub(crate) fn export_internal<'a>( function export_single_internal (line 80) | fn export_single_internal( function inline (line 180) | pub fn inline(exporter: &dyn AsRef, types: &Types, dt: &DataType) -... function reference (line 200) | pub fn reference(exporter: &dyn AsRef, types: &Types, r: &Reference... function datatype_with_inline_attr (line 215) | pub(crate) fn datatype_with_inline_attr( function datatype (line 237) | fn datatype( function primitive_dt (line 344) | fn primitive_dt( function list_dt (line 364) | fn list_dt( function map_dt (line 401) | fn map_dt( function tuple_dt (line 437) | fn tuple_dt( function struct_dt (line 472) | fn struct_dt( function enum_dt (line 572) | fn enum_dt( function enum_variant_dt (line 617) | fn enum_variant_dt( function reference_dt (line 753) | fn reference_dt( function generic_dt (line 770) | fn generic_dt(s: &mut String, g: &GenericReference) { function reference_opaque_dt (line 774) | fn reference_opaque_dt(s: &mut String, r: &OpaqueReference) -> Result<()... function reference_named_dt (line 795) | fn reference_named_dt( function exported_type_name (line 897) | fn exported_type_name(exporter: &Zod, ndt: &NamedDataType) -> Cow<'stati... function validate_type_name (line 911) | fn validate_type_name(name: &str, path: String) -> Result<(), Error> { function sanitise_key (line 931) | fn sanitise_key(field_name: &str) -> String { function is_identifier (line 939) | fn is_identifier(name: &str) -> bool { function escape_string (line 949) | fn escape_string(value: &str) -> Cow<'_, str> { FILE: specta-zod/src/references.rs function with_module_path (line 10) | pub(crate) fn with_module_path(module_path: &str, func: impl FnOnce()... function current_module_path (line 34) | pub(crate) fn current_module_path() -> Option { function collect_references (line 39) | pub fn collect_references(func: impl FnOnce() -> R) -> (R, HashSet(T); method definition (line 14) | fn definition(_: &mut Types) -> DataType { method fmt (line 20) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method clone (line 26) | fn clone(&self) -> Self { method default (line 32) | fn default() -> Self { function serialize (line 40) | fn serialize(&self, serializer: S) -> Result type Unknown (line 49) | pub struct Unknown(T); method definition (line 52) | fn definition(_: &mut Types) -> DataType { method fmt (line 58) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method clone (line 64) | fn clone(&self) -> Self { method default (line 70) | fn default() -> Self { function serialize (line 78) | fn serialize(&self, serializer: S) -> Result type Never (line 87) | pub struct Never(T); method definition (line 90) | fn definition(_: &mut Types) -> DataType { method fmt (line 96) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method clone (line 102) | fn clone(&self) -> Self { method default (line 108) | fn default() -> Self { function serialize (line 116) | fn serialize(&self, serializer: S) -> Result FILE: specta-zod/src/zod.rs type BigIntExportBehavior (line 19) | pub enum BigIntExportBehavior { type Layout (line 33) | pub enum Layout { method fmt (line 44) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type RuntimeFn (line 51) | struct RuntimeFn( method fmt (line 56) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Zod (line 64) | pub struct Zod { method new (line 83) | pub fn new() -> Self { method framework_prelude (line 96) | pub fn framework_prelude(mut self, prelude: impl Into>) -> Self { method bigint (line 120) | pub fn bigint(mut self, bigint: BigIntExportBehavior) -> Self { method layout (line 126) | pub fn layout(mut self, layout: Layout) -> Self { method export (line 132) | pub fn export(&self, types: &Types, format: impl Format) -> Result &Zod { method as_mut (line 522) | fn as_mut(&mut self) -> &mut Zod { method default (line 76) | fn default() -> Self { function format_types (line 394) | fn format_types<'a>(types: &'a Types, format: &dyn Format) -> Result { function fmt (line 538) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function as_ref (line 544) | fn as_ref(&self) -> &Zod { type Target (line 550) | type Target = Zod; method deref (line 552) | fn deref(&self) -> &Self::Target { function render_types (line 559) | pub fn render_types(&mut self) -> Result, Error> { function inline (line 567) | pub fn inline(&self, dt: &DataType) -> Result { function reference (line 573) | pub fn reference(&self, r: &Reference) -> Result { function export (line 582) | pub fn export<'a>( type Module (line 594) | struct Module<'a> { function build_module_graph (line 600) | fn build_module_graph(types: &Types) -> Module<'_> { function render_file_header (line 636) | fn render_file_header(exporter: &Zod) -> String { function render_types (line 650) | fn render_types( function render_flat_types (line 670) | fn render_flat_types<'a>( function collect_existing_files (line 703) | fn collect_existing_files(root: &Path) -> Result, Error> { function is_generated_specta_file (line 732) | fn is_generated_specta_file(path: &Path, exporter: &Zod) -> Result Result<(), Error> { function cleanup_stale_files (line 777) | fn cleanup_stale_files( function exported_type_name (line 801) | fn exported_type_name(exporter: &Zod, ndt: &NamedDataType) -> Cow<'stati... function module_alias (line 815) | pub(crate) fn module_alias(module_path: &str) -> String { function module_import_statement (line 823) | fn module_import_statement(from_module_path: &str, to_module_path: &str)... function module_import_block (line 831) | fn module_import_block(from_module_path: &str, import_paths: &BTreeSet S... FILE: specta/build.rs function main (line 9) | fn main() { FILE: specta/src/collect.rs function collect (line 56) | pub fn collect() -> Types { function register (line 74) | pub fn register() { FILE: specta/src/datatype.rs type DataType (line 36) | pub enum DataType { FILE: specta/src/datatype/attributes.rs type DynAttributeValue (line 10) | trait DynAttributeValue: Send + Sync { method value_any (line 11) | fn value_any(&self) -> &dyn Any; method eq_dyn (line 12) | fn eq_dyn(&self, other: &dyn DynAttributeValue) -> bool; method hash_dyn (line 13) | fn hash_dyn(&self, state: &mut dyn Hasher); method fmt_dyn (line 14) | fn fmt_dyn(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result; method value_any (line 23) | fn value_any(&self) -> &dyn Any { method eq_dyn (line 27) | fn eq_dyn(&self, other: &dyn DynAttributeValue) -> bool { method hash_dyn (line 34) | fn hash_dyn(&self, state: &mut dyn Hasher) { method fmt_dyn (line 40) | fn fmt_dyn(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type NamedAttributeValue (line 17) | struct NamedAttributeValue(T); type Attributes (line 57) | pub struct Attributes(HashMap, Arc usize { method is_empty (line 77) | pub fn is_empty(&self) -> bool { method insert (line 87) | pub fn insert(&mut self, key: impl Into>, value: T) method extend (line 100) | pub fn extend(&mut self, other: Self) { method remove (line 107) | pub fn remove(&mut self, key: &str) -> bool { method contains_key (line 112) | pub fn contains_key(&self, key: &str) -> bool { method get_named (line 121) | pub fn get_named(&self, key: &str) -> Option<&dyn Any> { method get_named_as (line 130) | pub fn get_named_as(&self, key: &str) -> Option<&T> { method fmt (line 172) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method clone (line 60) | fn clone(&self) -> Self { method eq (line 138) | fn eq(&self, other: &Self) -> bool { method hash (line 152) | fn hash(&self, state: &mut H) { FILE: specta/src/datatype/enum.rs type Enum (line 17) | pub struct Enum { method from (line 25) | fn from(t: Enum) -> Self { type Variant (line 33) | pub struct Variant { method unit (line 52) | pub fn unit() -> Self { method named (line 63) | pub fn named() -> VariantBuilder { method unnamed (line 79) | pub fn unnamed() -> VariantBuilder { method from (line 176) | fn from(val: VariantBuilder) -> Self { type VariantBuilder (line 99) | pub struct VariantBuilder { function skip (line 106) | pub fn skip(mut self) -> Self { function docs (line 112) | pub fn docs(mut self, docs: Cow<'static, str>) -> Self { function deprecated (line 118) | pub fn deprecated(mut self, reason: Deprecated) -> Self { function attributes (line 124) | pub fn attributes(mut self, attributes: Attributes) -> Self { function attributes_mut (line 130) | pub fn attributes_mut(&mut self, attributes: Attributes) { function field (line 137) | pub fn field(mut self, field: Field) -> Self { function field_mut (line 143) | pub fn field_mut(mut self, field: Field) -> Self { function build (line 149) | pub fn build(mut self) -> Variant { function field (line 157) | pub fn field(mut self, name: impl Into>, field: Field)... function field_mut (line 163) | pub fn field_mut(mut self, name: impl Into>, field: Fi... function build (line 169) | pub fn build(mut self) -> Variant { FILE: specta/src/datatype/fields.rs type Fields (line 10) | pub enum Fields { type Field (line 28) | pub struct Field { method new (line 55) | pub fn new(ty: DataType) -> Self { type UnnamedFields (line 69) | pub struct UnnamedFields { type NamedFields (line 77) | pub struct NamedFields { type StructBuilder (line 87) | pub struct StructBuilder { function field (line 93) | pub fn field(mut self, name: impl Into>, field: Field)... function field_mut (line 99) | pub fn field_mut(&mut self, name: impl Into>, field: F... function build (line 104) | pub fn build(self) -> DataType { function field (line 114) | pub fn field(mut self, field: Field) -> Self { function field_mut (line 120) | pub fn field_mut(&mut self, field: Field) { function build (line 125) | pub fn build(self) -> DataType { FILE: specta/src/datatype/function.rs type Function (line 14) | pub struct Function { method asyncness (line 31) | pub fn asyncness(&self) -> bool { method name (line 36) | pub fn name(&self) -> &str { method args (line 41) | pub fn args(&self) -> &[(Cow<'static, str>, DataType)] { method result (line 46) | pub fn result(&self) -> Option<&DataType> { FILE: specta/src/datatype/generic.rs type Generic (line 16) | pub struct Generic(Cow<'static, str>); method new (line 22) | pub const fn new(name: Cow<'static, str>) -> Self { method name (line 27) | pub fn name(&self) -> &Cow<'static, str> { method reference (line 32) | pub fn reference(&self) -> Self { method from (line 38) | fn from(v: Generic) -> Self { type GenericDefinition (line 47) | pub struct GenericDefinition { method new (line 56) | pub const fn new(name: Cow<'static, str>, default: Option) -... method reference (line 61) | pub fn reference(&self) -> Generic { FILE: specta/src/datatype/list.rs type List (line 7) | pub struct List { method new (line 20) | pub fn new(ty: DataType) -> Self { method from (line 30) | fn from(t: List) -> Self { FILE: specta/src/datatype/literal.rs type Literal (line 22) | pub struct Literal(Arc); method new (line 30) | pub fn new(value: T) -> DataType { method definition (line 35) | pub fn definition(&self, types: &mut Types) -> DataType { method downcast_ref (line 40) | pub fn downcast_ref(&self) -> Option<&T> { method from (line 62) | fn from(value: T) -> Self { method fmt (line 68) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method hash (line 82) | fn hash(&self, state: &mut H) { type LiteralType (line 48) | pub trait LiteralType: Any + Send + Sync + 'static { method definition (line 50) | fn definition(&self, types: &mut Types) -> DataType; method eq_dyn (line 52) | fn eq_dyn(&self, other: &dyn LiteralType) -> bool; method hash_dyn (line 54) | fn hash_dyn(&self, state: &mut dyn hash::Hasher); method fmt_dyn (line 56) | fn fmt_dyn(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result; method as_any (line 58) | fn as_any(&self) -> &dyn Any; method eq (line 74) | fn eq(&self, other: &Self) -> bool { type FloatKey (line 136) | enum FloatKey { type FloatLiteral (line 144) | trait FloatLiteral: Copy + PartialEq + Type + fmt::Debug + Send + Sync +... constant INFINITY (line 147) | const INFINITY: Self; constant NEG_INFINITY (line 148) | const NEG_INFINITY: Self; constant NEG_ZERO_BITS (line 149) | const NEG_ZERO_BITS: Self::Bits; method is_nan (line 151) | fn is_nan(self) -> bool; method is_negative_zero (line 152) | fn is_negative_zero(self) -> bool; method to_bits (line 153) | fn to_bits(self) -> Self::Bits; function from (line 157) | fn from(value: T) -> Self { FILE: specta/src/datatype/map.rs type Map (line 8) | pub struct Map(Box<(DataType, DataType)>); method new (line 12) | pub fn new(key_ty: DataType, value_ty: DataType) -> Self { method key_ty (line 17) | pub fn key_ty(&self) -> &DataType { method key_ty_mut (line 22) | pub fn key_ty_mut(&mut self) -> &mut DataType { method set_key_ty (line 27) | pub fn set_key_ty(&mut self, key_ty: DataType) { method value_ty (line 32) | pub fn value_ty(&self) -> &DataType { method value_ty_mut (line 37) | pub fn value_ty_mut(&mut self) -> &mut DataType { method set_value_ty (line 42) | pub fn set_value_ty(&mut self, value_ty: DataType) { method from (line 48) | fn from(t: Map) -> Self { FILE: specta/src/datatype/named.rs function inline (line 20) | pub fn inline(types: &mut Types, func: impl FnOnce(&mut Types) -> R) ... type NamedDataType (line 42) | pub struct NamedDataType { method new (line 67) | pub fn new( method init_with_sentinel (line 130) | pub fn init_with_sentinel( method reference (line 267) | pub fn reference(&self, generics: Vec<(Generic, DataType)>) -> Referen... type Deprecated (line 278) | pub struct Deprecated { method new (line 289) | pub const fn new() -> Self { method with_note (line 299) | pub fn with_note(note: Cow<'static, str>) -> Self { method with_since_note (line 309) | pub fn with_since_note(since: Option>, note: Cow<'st... function file_path_to_module_path (line 317) | fn file_path_to_module_path(file_path: &str) -> Option { function file_path_to_module_path_supports_unix_and_windows_separators (line 345) | fn file_path_to_module_path_supports_unix_and_windows_separators() { FILE: specta/src/datatype/primitive.rs type Primitive (line 6) | pub enum Primitive { method from (line 48) | fn from(t: Primitive) -> Self { FILE: specta/src/datatype/reference.rs type Reference (line 13) | pub enum Reference { method opaque (line 147) | pub fn opaque(state: T) ->... method ty_eq (line 155) | pub fn ty_eq(&self, other: &Reference) -> bool { type NamedReference (line 26) | pub struct NamedReference { type NamedReferenceType (line 34) | pub enum NamedReferenceType { type OpaqueReference (line 70) | pub struct OpaqueReference(Arc); method fmt (line 100) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method hash (line 116) | fn hash(&self, state: &mut H) { method type_name (line 123) | pub fn type_name(&self) -> &'static str { method type_id (line 128) | pub fn type_id(&self) -> TypeId { method downcast_ref (line 133) | pub fn downcast_ref(&self) -> Option<&T> { type DynOpaqueReference (line 72) | trait DynOpaqueReference: Any + Send + Sync { method type_name (line 73) | fn type_name(&self) -> &'static str; method hash (line 74) | fn hash(&self, hasher: &mut dyn hash::Hasher); method eq (line 75) | fn eq(&self, other: &dyn Any) -> bool; method as_any (line 76) | fn as_any(&self) -> &dyn Any; method type_name (line 82) | fn type_name(&self) -> &'static str { method hash (line 85) | fn hash(&self, mut hasher: &mut dyn hash::Hasher) { method eq (line 88) | fn eq(&self, other: &dyn Any) -> bool { method as_any (line 94) | fn as_any(&self) -> &dyn Any { type OpaqueReferenceInner (line 80) | struct OpaqueReferenceInner(T); method eq (line 108) | fn eq(&self, other: &Self) -> bool { method from (line 165) | fn from(r: Reference) -> Self { type NamedId (line 175) | pub(crate) enum NamedId { method hash (line 193) | fn hash(&self, state: &mut H) { method fmt (line 202) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method eq (line 182) | fn eq(&self, other: &Self) -> bool { FILE: specta/src/datatype/struct.rs type Struct (line 10) | pub struct Struct { method unit (line 21) | pub fn unit() -> Self { method named (line 29) | pub fn named() -> StructBuilder { method unnamed (line 38) | pub fn unnamed() -> StructBuilder { method from (line 48) | fn from(t: Struct) -> Self { FILE: specta/src/datatype/tuple.rs type Tuple (line 9) | pub struct Tuple { method new (line 16) | pub fn new(elements: Vec) -> Self { method from (line 22) | fn from(t: Tuple) -> Self { FILE: specta/src/format.rs type FormatError (line 6) | pub type FormatError = Box; type Format (line 15) | pub trait Format { method map_types (line 20) | fn map_types(&'_ self, types: &Types) -> std::result::Result std::result::Result std::result::Result = None; FILE: specta/src/function/arg.rs type FunctionArg (line 5) | pub trait FunctionArg { method to_datatype (line 10) | fn to_datatype(types: &mut Types) -> Option; method to_datatype (line 14) | fn to_datatype(types: &mut Types) -> Option { FILE: specta/src/function/result.rs type FunctionResult (line 7) | pub trait FunctionResult { method to_datatype (line 9) | fn to_datatype(types: &mut Types) -> DataType; type FunctionValueMarker (line 13) | pub enum FunctionValueMarker {} method to_datatype (line 15) | fn to_datatype(types: &mut Types) -> DataType { type FunctionFutureMarker (line 21) | pub enum FunctionFutureMarker {} method to_datatype (line 27) | fn to_datatype(types: &mut Types) -> DataType { FILE: specta/src/function/specta_fn.rs type SpectaFn (line 13) | pub trait SpectaFn { method to_datatype (line 15) | fn to_datatype( function to_datatype (line 30) | fn to_datatype( FILE: specta/src/internal.rs function get_fn_datatype (line 19) | pub fn get_fn_datatype>( FILE: specta/src/lib.rs type TypeMap (line 54) | pub type TypeMap = Types; FILE: specta/src/type.rs type Type (line 30) | pub trait Type { method definition (line 35) | fn definition(types: &mut Types) -> DataType; FILE: specta/src/type/impls.rs method definition (line 20) | fn definition(_: &mut Types) -> DataType { method definition (line 28) | fn definition(_: &mut Types) -> DataType { type PrimitiveSet (line 37) | pub(crate) struct PrimitiveSet(PhantomData); method definition (line 39) | fn definition(types: &mut Types) -> DataType { type PrimitiveMap (line 47) | pub(crate) struct PrimitiveMap(PhantomData, PhantomData); method definition (line 49) | fn definition(types: &mut Types) -> DataType { constant _ (line 59) | const _: () = { method definition (line 208) | fn definition(types: &mut Types) -> DataType { method definition (line 214) | fn definition(types: &mut Types) -> DataType { method definition (line 222) | fn definition(types: &mut Types) -> DataType { method definition (line 236) | fn definition(types: &mut Types) -> DataType { FILE: specta/src/type/legacy_impls.rs type String (line 8) | pub struct String; method definition (line 10) | fn definition(types: &mut Types) -> DataType { constant _ (line 17) | const _: () = { constant _ (line 33) | const _: () = { constant _ (line 85) | const _: () = { constant _ (line 168) | const _: () = { constant _ (line 267) | const _: () = { constant _ (line 358) | const _: () = { constant _ (line 424) | const _: () = { constant _ (line 705) | const _: () = { constant _ (line 841) | const _: () = { constant _ (line 879) | const _: () = { constant _ (line 908) | const _: () = { constant _ (line 958) | const _: () = { constant _ (line 1498) | const _: () = { FILE: specta/src/types.rs type Types (line 23) | pub struct Types { method fmt (line 114) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method register (line 124) | pub fn register(mut self) -> Self { method register_mut (line 130) | pub fn register_mut(&mut self) -> &mut Self { method get (line 139) | pub fn get(&self, r: &NamedReference) -> Option<&NamedDataType> { method len (line 144) | pub fn len(&self) -> usize { method is_empty (line 158) | pub fn is_empty(&self) -> bool { method extend (line 175) | pub fn extend(&mut self, other: &Self) { method into_sorted_iter (line 205) | pub fn into_sorted_iter(&self) -> impl ExactSizeIterator impl ExactSizeIterator(&mut self, mut f: F) method map (line 242) | pub fn map(mut self, mut f: F) -> Self type UnsortedIter (line 255) | struct UnsortedIter<'a> { type Item (line 261) | type Item = &'a NamedDataType; method next (line 263) | fn next(&mut self) -> Option { method size_hint (line 267) | fn size_hint(&self) -> (usize, Option) { FILE: tests/tests/bound.rs type CustomBound (line 6) | struct CustomBound { type MultiBound (line 12) | struct MultiBound { type ComplexBound (line 19) | struct ComplexBound { type ExistingWhere (line 25) | struct ExistingWhere type EnumWithBound (line 34) | enum EnumWithBound { type LifetimeBound (line 41) | struct LifetimeBound { type RequiresClone (line 47) | struct RequiresClone { function custom_bound (line 52) | fn custom_bound() { function multi_bound (line 63) | fn multi_bound() { function complex_bound (line 75) | fn complex_bound() { function existing_where (line 84) | fn existing_where() { function enum_bound (line 93) | fn enum_bound() { function lifetime_bound (line 102) | fn lifetime_bound() { function requires_clone_bound (line 111) | fn requires_clone_bound() { function associated_type_bound_issue_138 (line 122) | fn associated_type_bound_issue_138() { FILE: tests/tests/errors.rs type MyError (line 10) | pub enum MyError { FILE: tests/tests/functions.rs function render_datatype (line 11) | fn render_datatype(ts: &Typescript, types: &Types, dt: &DataType) -> Str... function a (line 25) | fn a() {} function b (line 28) | fn b(demo: String) {} function c (line 31) | fn c(a: String, b: i32, c: bool) {} function d (line 34) | fn d(demo: String) -> i32 { function e (line 39) | fn e(window: T) {} function f (line 43) | fn f(mut demo: String) -> i32 { function g (line 48) | fn g(x: std::string::String) {} function h (line 57) | fn h(demo: special_string!()) {} function i (line 60) | fn i() -> Result { function k (line 65) | fn k() -> Result { type Demo (line 71) | pub struct Demo { function l (line 76) | fn l(Demo { demo }: Demo, (a, b): (String, u32)) {} function m (line 85) | fn m(special_destructure!(): Demo) {} function async_fn (line 88) | async fn async_fn() {} function with_docs (line 92) | fn with_docs() {} function public_function (line 95) | pub fn public_function() {} function nested (line 101) | pub fn nested() {} function raw (line 105) | fn raw(r#type: i32) {} function rename_all_fn (line 110) | fn rename_all_fn(myArg: i32, anotherValue: String) {} function renamed_fn (line 114) | fn renamed_fn(myArg: i32) {} function test_trailing_comma (line 119) | fn test_trailing_comma() { function test_function_exporting (line 129) | fn test_function_exporting() { FILE: tests/tests/jsdoc.rs type Three (line 23) | pub struct Three { type Two (line 33) | pub struct Two { type One (line 43) | pub struct One { function export_to (line 51) | fn export_to() { function primitives_export (line 89) | fn primitives_export() { function primitives_export_many (line 119) | fn primitives_export_many() { function primitives_reference (line 148) | fn primitives_reference() { function primitives_inline (line 176) | fn primitives_inline() { function jsdoc_export_bigint_errors (line 196) | fn jsdoc_export_bigint_errors() { function jsdoc_export_to_files_uses_jsdoc_import_typedefs (line 371) | fn jsdoc_export_to_files_uses_jsdoc_import_typedefs() { FILE: tests/tests/layouts.rs type Testing (line 11) | struct Testing { type Another (line 16) | struct Another { type MoreType (line 21) | struct MoreType { type Testing (line 29) | pub struct Testing { type Testing (line 37) | pub struct Testing { function duplicate_typenames_layouts (line 44) | fn duplicate_typenames_layouts() { function non_duplicate_typenames_layouts (line 92) | fn non_duplicate_typenames_layouts() { function empty_module_path_layouts (line 138) | fn empty_module_path_layouts() { function temp_dir (line 174) | fn temp_dir() -> TempDir { function assert_error_contains (line 180) | fn assert_error_contains(result: Result,... FILE: tests/tests/legacy_impls.rs type ErrorStackRootError (line 7) | struct ErrorStackRootError; method fmt (line 10) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type LegacyImpls (line 18) | struct LegacyImpls { type LegacyImplWithBigints (line 85) | struct LegacyImplWithBigints { function legacy_impls (line 111) | fn legacy_impls() { function legacy_impl_bigint_errors (line 124) | fn legacy_impl_bigint_errors() { function legacy_impl_individual_bigint_errors (line 143) | fn legacy_impl_individual_bigint_errors() { FILE: tests/tests/macro/compile_error.rs type Demo2 (line 9) | pub enum Demo2 {} type Error (line 14) | pub struct Error { type UnitExternal (line 23) | enum UnitExternal { type UnnamedMultiExternal (line 29) | enum UnnamedMultiExternal { type FlattenExternal (line 35) | struct FlattenExternal { type UnnamedUntagged (line 45) | enum UnnamedUntagged { type UnnamedMultiUntagged (line 52) | enum UnnamedMultiUntagged { type FlattenUntagged (line 58) | struct FlattenUntagged { type UnnamedInternal (line 70) | enum UnnamedInternal { type FlattenInternal (line 78) | struct FlattenInternal { type InvalidAttrs1 (line 87) | struct InvalidAttrs1; type InvalidAttrs2 (line 92) | struct InvalidAttrs2; type InvalidAttrs3 (line 96) | struct InvalidAttrs3 { type InvalidAttrs4 (line 103) | struct InvalidAttrs4 { type LegacyContainerRename (line 112) | struct LegacyContainerRename; type LegacyFieldRename (line 116) | struct LegacyFieldRename { type LegacyVariantRename (line 123) | enum LegacyVariantRename { constant INTERNAL_RENAME_KEY (line 128) | const INTERNAL_RENAME_KEY: &str = "renamed"; type InternalRenameFromPath (line 132) | struct InternalRenameFromPath { type TransparentEnum (line 140) | pub enum TransparentEnum {} type TransparentTypeOverrideConflict (line 144) | pub struct TransparentTypeOverrideConflict(String); type InvalidSpectaAttribute1 (line 149) | pub struct InvalidSpectaAttribute1; type InvalidSpectaAttribute2 (line 154) | pub struct InvalidSpectaAttribute2; function testing (line 160) | pub fn testing() {} function invalid_function_rename_all (line 163) | pub fn invalid_function_rename_all() {} FILE: tests/tests/mod.rs function compile_errors (line 35) | fn compile_errors() { FILE: tests/tests/references.rs type GenericType (line 10) | struct GenericType(T); type AnotherOne (line 14) | struct AnotherOne; function references (line 17) | fn references() { FILE: tests/tests/serde_conversions.rs type Wire (line 7) | struct Wire { method from (line 169) | fn from(value: IntoOnly) -> Self { method from (line 175) | fn from(value: Symmetric) -> Self { type IntoOnly (line 14) | struct IntoOnly { type Symmetric (line 21) | struct Symmetric { method from (line 181) | fn from(value: Wire) -> Self { type GenericWire (line 27) | struct GenericWire { type GenericTryFrom (line 34) | struct GenericTryFrom { type GenericParent (line 40) | struct GenericParent { type Parent (line 46) | struct Parent { type CustomCodecNoOverride (line 52) | struct CustomCodecNoOverride { type CustomCodecWithOverride (line 59) | struct CustomCodecWithOverride { type CustomCodecWithPhasedOverride (line 67) | struct CustomCodecWithPhasedOverride { type FieldOnlyPhasedOverride (line 75) | struct FieldOnlyPhasedOverride { type SkipSerializingIfOnly (line 82) | struct SkipSerializingIfOnly { type FieldPhaseSpecificRename (line 89) | struct FieldPhaseSpecificRename { type VariantCodecNoOverride (line 96) | enum VariantCodecNoOverride { type VariantCodecWithOverride (line 106) | enum VariantCodecWithOverride { type VariantIdentifierValid (line 118) | enum VariantIdentifierValid { type FieldIdentifierValid (line 126) | enum FieldIdentifierValid { function serialize (line 135) | pub fn serialize(_value: &str, serializer: S) -> Result function deserialize (line 142) | pub fn deserialize<'de, D>(deserializer: D) -> Result function serialize (line 153) | pub fn serialize(value: &str, serializer: S) -> Result function deserialize (line 160) | pub fn deserialize<'de, D>(deserializer: D) -> Result type Error (line 187) | type Error = std::convert::Infallible; function try_from (line 189) | fn try_from(value: GenericWire) -> Result { function apply_rejects_asymmetric_container_conversion (line 197) | fn apply_rejects_asymmetric_container_conversion() { function phases_format_splits_container_and_dependents_for_conversions (line 213) | fn phases_format_splits_container_and_dependents_for_conversions() { function apply_accepts_symmetric_container_conversion (line 228) | fn apply_accepts_symmetric_container_conversion() { function phases_format_accepts_generic_try_from_container_conversion (line 238) | fn phases_format_accepts_generic_try_from_container_conversion() { function custom_codec_requires_explicit_override (line 259) | fn custom_codec_requires_explicit_override() { function custom_codec_variant_requires_explicit_override (line 278) | fn custom_codec_variant_requires_explicit_override() { function phased_override_requires_phases_format (line 296) | fn phased_override_requires_phases_format() { function field_only_phased_override_requires_phases_format (line 314) | fn field_only_phased_override_requires_phases_format() { function phases_format_exports_field_only_phased_override (line 332) | fn phases_format_exports_field_only_phased_override() { function skip_serializing_if_requires_phases (line 347) | fn skip_serializing_if_requires_phases() { function field_phase_specific_rename_requires_phases (line 365) | fn field_phase_specific_rename_requires_phases() { function identifier_enums_require_phases (line 383) | fn identifier_enums_require_phases() { FILE: tests/tests/serde_identifiers.rs type VariantIdentifier (line 8) | enum VariantIdentifier { type FieldIdentifier (line 17) | enum FieldIdentifier { function identifier_apply_requires_phases (line 24) | fn identifier_apply_requires_phases() { function identifier_phases_format_exports_deserialize_union (line 49) | fn identifier_phases_format_exports_deserialize_union() { FILE: tests/tests/serde_other.rs type InternalOther (line 10) | enum InternalOther { type AdjacentOther (line 20) | enum AdjacentOther { function serde_other_requires_phases_format (line 28) | fn serde_other_requires_phases_format() { function serde_other_internal_tag_widens_deserialize_tag_to_string (line 43) | fn serde_other_internal_tag_widens_deserialize_tag_to_string() { function serde_other_adjacent_tag_widens_deserialize_tag_to_string (line 55) | fn serde_other_adjacent_tag_widens_deserialize_tag_to_string() { FILE: tests/tests/swift.rs type IdentityFormat (line 7) | struct IdentityFormat; method map_types (line 10) | fn map_types(&'_ self, types: &Types) -> Result, specta::... method map_type (line 14) | fn map_type( function phase_collections (line 23) | fn phase_collections(types: Types) -> Vec<(&'static str, Box... function phase_output (line 31) | fn phase_output(types: &Types, format: impl Format + 'static) -> String { type JobStatus (line 38) | enum JobStatus { type RegularEnum (line 45) | enum RegularEnum { type MixedEnum (line 53) | enum MixedEnum { function swift_export (line 59) | fn swift_export() { FILE: tests/tests/types.rs function types (line 86) | pub fn types() -> (Types, Vec<(&'static str, DataType)>) { function types_phased (line 431) | pub fn types_phased() -> (Types, Vec<(&'static str, DataType)>) { type TestCollectionRegister (line 447) | pub enum TestCollectionRegister {} type Unit1 (line 451) | struct Unit1; type Unit2 (line 455) | struct Unit2 {} type Unit3 (line 459) | struct Unit3(); type Unit4 (line 463) | struct Unit4(()); type Unit5 (line 467) | enum Unit5 { type Unit6 (line 473) | enum Unit6 { type Unit7 (line 479) | enum Unit7 { type SimpleStruct (line 485) | struct SimpleStruct { type TupleStruct1 (line 495) | struct TupleStruct1(i32); type TupleStruct3 (line 499) | struct TupleStruct3(i32, bool, String); type RenamedStruct (line 504) | struct RenamedStruct; type TestEnum (line 508) | enum TestEnum { type RefStruct (line 517) | struct RefStruct(TestEnum); type InlineStruct (line 521) | struct InlineStruct { type InlinerStruct (line 528) | struct InlinerStruct { type GenericStruct (line 536) | struct GenericStruct { type FlattenEnumStruct (line 542) | struct FlattenEnumStruct { type FlattenEnum (line 551) | enum FlattenEnum { type OverridenStruct (line 559) | struct OverridenStruct { type HasGenericAlias (line 566) | struct HasGenericAlias(GenericAlias); type GenericAlias (line 568) | type GenericAlias = std::collections::HashMap; type SkipVariant (line 572) | enum SkipVariant { type SkipVariant2 (line 583) | enum SkipVariant2 { type SkipVariant3 (line 593) | enum SkipVariant3 { type SkipStructFields (line 609) | struct SkipStructFields { type SpectaSkipNonTypeField (line 619) | struct SpectaSkipNonTypeField { type EnumMacroAttributes (line 627) | enum EnumMacroAttributes { type PlaceholderInnerField (line 643) | struct PlaceholderInnerField { type InlineEnumField (line 649) | enum InlineEnumField { type InlineOptionalType (line 656) | struct InlineOptionalType { type Rename (line 664) | enum Rename { type TransparentTypeInner (line 672) | struct TransparentTypeInner { type TransparentType (line 679) | struct TransparentType(TransparentTypeInner); type TransparentType2 (line 684) | struct TransparentType2(()); type NonTypeType (line 687) | struct NonTypeType; type TransparentTypeWithOverride (line 692) | struct TransparentTypeWithOverride(#[specta(type = String)] NonTypeType); type BasicEnum (line 696) | enum BasicEnum { type NestedEnum (line 704) | enum NestedEnum { type FlattenOnNestedEnum (line 712) | struct FlattenOnNestedEnum { type EnumReferenceRecordKey (line 720) | struct EnumReferenceRecordKey { type MyEmptyInput (line 729) | struct MyEmptyInput {} type EmptyStruct (line 733) | struct EmptyStruct {} type EmptyStructWithTag (line 738) | struct EmptyStructWithTag {} type ExtraBracketsInTupleVariant (line 743) | enum ExtraBracketsInTupleVariant { type ExtraBracketsInUnnamedStruct (line 749) | struct ExtraBracketsInUnnamedStruct((String)); type RenameWithWeirdCharsField (line 754) | struct RenameWithWeirdCharsField { type RenamedFieldKeys (line 761) | struct RenamedFieldKeys { type RenamedVariantWithSkippedPayload (line 778) | enum RenamedVariantWithSkippedPayload { type RenameWithWeirdCharsVariant (line 786) | enum RenameWithWeirdCharsVariant { type RenameWithWeirdCharsStruct (line 794) | struct RenameWithWeirdCharsStruct(String); type RenameWithWeirdCharsEnum (line 799) | enum RenameWithWeirdCharsEnum {} type MyEnum (line 803) | enum MyEnum { type InlineTuple (line 810) | struct InlineTuple { type InlineTuple2 (line 817) | struct InlineTuple2 { type SkippedFieldWithinVariant (line 825) | enum SkippedFieldWithinVariant { type KebabCase (line 833) | struct KebabCase { type Issue281 (line 840) | struct Issue281<'a> { type LifetimeGenericStruct (line 847) | struct LifetimeGenericStruct<'a, T> { type LifetimeGenericEnum (line 854) | enum LifetimeGenericEnum<'a, T> { type Issue374 (line 862) | struct Issue374 { type Type (line 875) | pub(super) enum Type {} type GenericType (line 881) | enum GenericType { type ActualType (line 888) | struct ActualType { type SpectaTypeOverride (line 894) | struct SpectaTypeOverride { type ContainerTypeOverrideStruct (line 907) | struct ContainerTypeOverrideStruct { type ContainerTypeOverrideEnum (line 913) | enum ContainerTypeOverrideEnum { type ContainerTypeOverrideGeneric (line 919) | struct ContainerTypeOverrideGeneric(std::marker::PhantomData); type ContainerTypeOverrideToGeneric (line 923) | struct ContainerTypeOverrideToGeneric(std::marker::PhantomData); type ContainerTypeOverrideTuple (line 927) | struct ContainerTypeOverrideTuple { type ContainerTypeOverrideTupleGeneric (line 933) | struct ContainerTypeOverrideTupleGeneric(std::marker::PhantomData); type InvalidToValidType (line 938) | struct InvalidToValidType { type TupleStruct (line 945) | struct TupleStruct(String); type TupleStructWithRep (line 950) | struct TupleStructWithRep(String); type GenericTupleStruct (line 954) | struct GenericTupleStruct(T); type BracedStruct (line 958) | struct BracedStruct { type Struct (line 965) | struct Struct { type Struct2 (line 971) | struct Struct2 { type Enum (line 979) | enum Enum { type Enum2 (line 987) | enum Enum2 { type StructRenameAllUppercase (line 1000) | struct StructRenameAllUppercase { type EnumRenameAllUppercase (line 1008) | enum EnumRenameAllUppercase { type StructPhaseSpecificRename (line 1021) | struct StructPhaseSpecificRename { type RenameSerdeSpecialChar (line 1028) | struct RenameSerdeSpecialChar { type Enum3 (line 1036) | enum Enum3 { type Recursive (line 1045) | struct Recursive { type RecursiveMapValue (line 1051) | struct RecursiveMapValue { type RecursiveInline (line 1057) | struct RecursiveInline { type RecursiveTransparent (line 1064) | struct RecursiveTransparent(Box); type RecursiveInEnum (line 1068) | enum RecursiveInEnum { type NonOptional (line 1077) | struct NonOptional(Option); type OptionalOnNamedField (line 1081) | struct OptionalOnNamedField(#[specta(optional)] Option); type OptionalOnTransparentNamedFieldInner (line 1085) | struct OptionalOnTransparentNamedFieldInner(#[specta(optional)] Option); type RegularStruct (line 1117) | struct RegularStruct { type TransparentStruct (line 1124) | struct TransparentStruct(String); type UnitVariants (line 1128) | enum UnitVariants { type UntaggedVariantsKey (line 1137) | enum UntaggedVariantsKey { type UntaggedVariants (line 1146) | enum UntaggedVariants { type UntaggedVariantsWithoutValue (line 1157) | enum UntaggedVariantsWithoutValue { type UntaggedVariantsWithDuplicateBranches (line 1166) | enum UntaggedVariantsWithDuplicateBranches { type InvalidUntaggedVariants (line 1175) | enum InvalidUntaggedVariants { type Variants (line 1183) | enum Variants { type MaybeValidKey (line 1192) | struct MaybeValidKey(T); type ValidMaybeValidKey (line 1197) | struct ValidMaybeValidKey(HashMap, ()>); type ValidMaybeValidKeyNested (line 1202) | struct ValidMaybeValidKeyNested(HashMap { type NonGeneric (line 1332) | type NonGeneric = Demo; type HalfGenericA (line 1333) | type HalfGenericA = Demo; type HalfGenericB (line 1334) | type HalfGenericB = Demo; type FullGeneric (line 1335) | type FullGeneric = Demo; type Another (line 1337) | type Another = FullGeneric; type MapA (line 1339) | type MapA = HashMap; type MapB (line 1340) | type MapB = HashMap; type MapC (line 1341) | type MapC = HashMap>; type AGenericStruct (line 1345) | struct AGenericStruct { type D (line 1351) | struct D { type GenericFlattened (line 1357) | struct GenericFlattened { type C (line 1363) | struct C { type B (line 1371) | struct B { type A (line 1377) | struct A { type ToBeFlattened (line 1390) | struct ToBeFlattened { type DoubleFlattened (line 1396) | struct DoubleFlattened { type Inner (line 1403) | struct Inner { type FlattenedInner (line 1411) | struct FlattenedInner { type BoxedInner (line 1418) | struct BoxedInner { type BoxFlattened (line 1424) | struct BoxFlattened { type BoxInline (line 1431) | struct BoxInline { type First (line 1438) | struct First { type Second (line 1444) | struct Second { type Third (line 1450) | struct Third { type Fourth (line 1459) | struct Fourth { type TagOnStructWithInline (line 1468) | struct TagOnStructWithInline { type Sixth (line 1477) | struct Sixth { type Seventh (line 1485) | struct Seventh { type Eight (line 1493) | enum Eight { type MyEnumTagged (line 1502) | enum MyEnumTagged { type MyEnumExternal (line 1512) | enum MyEnumExternal { type MyEnumAdjacent (line 1523) | enum MyEnumAdjacent { type MyEnumUntagged (line 1534) | enum MyEnumUntagged { type Ninth (line 1544) | enum Ninth { type Tenth (line 1555) | enum Tenth { type Optional (line 1565) | struct Optional { type ContainerDefault (line 1578) | struct ContainerDefault { type FieldDefault (line 1585) | struct FieldDefault { type MixedTaggedAndUntagged (line 1594) | enum MixedTaggedAndUntagged { type MixedTaggedAndUntaggedStruct (line 1607) | enum MixedTaggedAndUntaggedStruct { type MixedTaggedAndUntaggedPhased (line 1620) | enum MixedTaggedAndUntaggedPhased { type TypeWithComplexAttributes (line 1636) | enum TypeWithComplexAttributes { type AdjacentlyTagged (line 1648) | enum AdjacentlyTagged { type LoadProjectEvent (line 1664) | enum LoadProjectEvent { type ExternallyTagged (line 1680) | enum ExternallyTagged { type Issue221External (line 1689) | enum Issue221External { type StructWithAlias (line 1697) | struct StructWithAlias { type StructWithMultipleAliases (line 1705) | struct StructWithMultipleAliases { type StructWithAliasAndRename (line 1713) | struct StructWithAliasAndRename { type EnumWithVariantAlias (line 1721) | enum EnumWithVariantAlias { type EnumWithMultipleVariantAliases (line 1730) | enum EnumWithMultipleVariantAliases { type EnumWithVariantAliasAndRename (line 1739) | enum EnumWithVariantAliasAndRename { type InternallyTaggedWithAlias (line 1749) | enum InternallyTaggedWithAlias { type AdjacentlyTaggedWithAlias (line 1763) | enum AdjacentlyTaggedWithAlias { type UntaggedWithAlias (line 1777) | enum UntaggedWithAlias { type Issue221UntaggedSafe (line 1791) | enum Issue221UntaggedSafe { type Issue221UntaggedMixed (line 1800) | enum Issue221UntaggedMixed { type EmptyEnum (line 1815) | enum EmptyEnum {} type EmptyEnumTagged (line 1820) | enum EmptyEnumTagged {} type EmptyEnumTaggedWContent (line 1825) | enum EmptyEnumTaggedWContent {} type EmptyEnumUntagged (line 1830) | enum EmptyEnumUntagged {} type UnitStruct (line 1834) | struct UnitStruct; type EmptyBracedStruct (line 1838) | struct EmptyBracedStruct {} type EmptyTupleStruct (line 1842) | struct EmptyTupleStruct(); type TaggedEnumOfUnitStruct (line 1847) | enum TaggedEnumOfUnitStruct { type TaggedEnumOfEmptyBracedStruct (line 1855) | enum TaggedEnumOfEmptyBracedStruct { type TaggedEnumOfEmptyTupleStruct (line 1863) | enum TaggedEnumOfEmptyTupleStruct { type TaggedEnumOfEmptyTupleBracedStructs (line 1871) | enum TaggedEnumOfEmptyTupleBracedStructs { type TupleStructWithTuple (line 1879) | struct TupleStructWithTuple(()); type TaggedStructOfStructWithTuple (line 1884) | enum TaggedStructOfStructWithTuple { type InternallyTaggedB (line 1892) | enum InternallyTaggedB { type InternallyTaggedC (line 1900) | enum InternallyTaggedC { type InternallyTaggedD (line 1908) | enum InternallyTaggedD { type InternallyTaggedE (line 1916) | enum InternallyTaggedE { type InternallyTaggedF (line 1924) | enum InternallyTaggedF { type InternallyTaggedFInner (line 1932) | enum InternallyTaggedFInner { type InternallyTaggedG (line 1939) | enum InternallyTaggedG { type InternallyTaggedGInner (line 1947) | enum InternallyTaggedGInner { type InternallyTaggedH (line 1954) | enum InternallyTaggedH { type InternallyTaggedHInner (line 1962) | struct InternallyTaggedHInner(()); type InternallyTaggedI (line 1967) | enum InternallyTaggedI { type InternallyTaggedIInner (line 1975) | struct InternallyTaggedIInner(String); type InternallyTaggedL (line 1980) | enum InternallyTaggedL { type InternallyTaggedLInner (line 1989) | enum InternallyTaggedLInner { type InternallyTaggedM (line 1997) | enum InternallyTaggedM { type InternallyTaggedMInner (line 2007) | enum InternallyTaggedMInner { type SkipOnlyField (line 2014) | struct SkipOnlyField { type SkipField (line 2021) | struct SkipField { type SkipOnlyVariantExternallyTagged (line 2029) | enum SkipOnlyVariantExternallyTagged { type SkipOnlyVariantInternallyTagged (line 2037) | enum SkipOnlyVariantInternallyTagged { type SkipOnlyVariantAdjacentlyTagged (line 2045) | enum SkipOnlyVariantAdjacentlyTagged { type SkipOnlyVariantUntagged (line 2053) | enum SkipOnlyVariantUntagged { type SkipUnnamedFieldInVariant (line 2060) | enum SkipUnnamedFieldInVariant { type SkipNamedFieldInVariant (line 2071) | enum SkipNamedFieldInVariant { type TransparentWithSkip (line 2088) | struct TransparentWithSkip((), #[specta(skip)] String); type TransparentWithSkip2 (line 2093) | struct TransparentWithSkip2(#[specta(skip)] (), String); type TransparentWithSkip3 (line 2098) | struct TransparentWithSkip3(#[specta(type = String)] Box); type LazilySkip (line 2104) | enum LazilySkip { type FlattenA (line 2116) | struct FlattenA { type FlattenB (line 2123) | struct FlattenB { type FlattenC (line 2131) | struct FlattenC { type FlattenD (line 2139) | struct FlattenD { type FlattenE (line 2146) | struct FlattenE { type FlattenF (line 2154) | struct FlattenF { type FlattenG (line 2162) | struct FlattenG { type TupleNested (line 2170) | struct TupleNested(Vec, (Vec, Vec), [Vec; 3]); type Generic1 (line 2174) | struct Generic1 { type GenericAutoBound (line 2181) | struct GenericAutoBound { type GenericAutoBound2 (line 2188) | struct GenericAutoBound2 { type Container1 (line 2195) | struct Container1 { type Generic2 (line 2203) | enum Generic2 { type GenericStruct2 (line 2216) | struct GenericStruct2 { type GenericNewType1 (line 2229) | struct GenericNewType1(Vec>); type GenericTuple (line 2233) | struct GenericTuple(T, Vec, Vec>); type InlineGenericNewtype (line 2237) | struct InlineGenericNewtype(T); type InlineGenericEnum (line 2241) | enum InlineGenericEnum { type InlineGenericNested (line 2249) | struct InlineGenericNested( type InlineFlattenGenericsG (line 2260) | struct InlineFlattenGenericsG { type InlineFlattenGenerics (line 2267) | struct InlineFlattenGenerics { type GenericDefault (line 2277) | struct GenericDefault { type ChainedGenericDefault (line 2283) | struct ChainedGenericDefault { type GenericDefaultSkipped (line 2290) | struct GenericDefaultSkipped<#[specta(skip_default_generic)] T = String> { type GenericDefaultSkippedNonTypeDefault (line 2294) | struct GenericDefaultSkippedNonTypeDefault; type GenericDefaultSkippedNonType (line 2298) | struct GenericDefaultSkippedNonType< type Pair (line 2383) | struct Pair { type GenericParameterOrderPreserved (line 2390) | struct GenericParameterOrderPreserved { constant CONST_LEN (line 2394) | const CONST_LEN: usize = 1; type ConstGenericInNonConstContainer (line 2397) | struct ConstGenericInNonConstContainer { type ConstGenericInConstContainer (line 2408) | struct ConstGenericInConstContainer { type NamedConstGeneric (line 2417) | struct NamedConstGeneric { type NamedConstGenericContainer (line 2426) | struct NamedConstGenericContainer { type InlineConstGeneric (line 2434) | struct InlineConstGeneric { type InlineConstGenericContainer (line 2444) | struct InlineConstGenericContainer { type InlineRecursiveConstGeneric (line 2454) | struct InlineRecursiveConstGeneric { type InlineRecursiveConstGenericContainer (line 2465) | struct InlineRecursiveConstGenericContainer { type TransparentA (line 2635) | struct TransparentA(String); type TransparentB (line 2640) | struct TransparentB(String); type UsesTransparent (line 2644) | struct UsesTransparent { function transparent_wrappers_have_distinct_ids (line 2650) | fn transparent_wrappers_have_distinct_ids() { function struct_collects_all_transparent_field_types (line 2665) | fn struct_collects_all_transparent_field_types() { function container_default_marks_all_fields_optional_in_unified_mode (line 2679) | fn container_default_marks_all_fields_optional_in_unified_mode() { function field_default_still_marks_only_that_field_optional (line 2691) | fn field_default_still_marks_only_that_field_optional() { function mixed_tagged_and_untagged_variants_export_in_unified_mode (line 2703) | fn mixed_tagged_and_untagged_variants_export_in_unified_mode() { function mixed_tagged_and_untagged_struct_variants_export_in_unified_mode (line 2715) | fn mixed_tagged_and_untagged_struct_variants_export_in_unified_mode() { function phased_mixed_untagged_variants_split_per_phase (line 2727) | fn phased_mixed_untagged_variants_split_per_phase() { FILE: tests/tests/typescript.rs function typescript_types (line 18) | fn typescript_types() -> (Types, Vec<(&'static str, DataType)>) { type PhaseCollection (line 35) | pub type PhaseCollection = ( type IdentityFormat (line 42) | struct IdentityFormat; method map_types (line 45) | fn map_types(&'_ self, types: &Types) -> Result, specta::... method map_type (line 49) | fn map_type( function phase_collections (line 58) | pub fn phase_collections() -> Vec { function typescript_export (line 86) | fn typescript_export() { function typescript_export_serde_errors (line 96) | fn typescript_export_serde_errors() { function typescript_export_bigint_errors (line 407) | fn typescript_export_bigint_errors() { function typescript_export_to (line 582) | fn typescript_export_to() { function primitives_export (line 620) | fn primitives_export() { function primitives_export_many (line 650) | fn primitives_export_many() { function primitives_reference (line 679) | fn primitives_reference() { function primitives_inline (line 707) | fn primitives_inline() { function reserved_names (line 728) | fn reserved_names() { FILE: tests/tests/utils.rs function fs_to_string (line 9) | pub fn fs_to_string(path: &Path) -> Result { function fs_to_string_impl (line 42) | fn fs_to_string_impl( function normalize_newlines (line 118) | fn normalize_newlines(text: &str) -> Cow<'_, str> { FILE: tests/tests/zod.rs type StructWithBigInt (line 26) | struct StructWithBigInt { type StructWithStructWithBigInt (line 32) | struct StructWithStructWithBigInt { type StructWithOptionWithStructWithBigInt (line 39) | struct StructWithOptionWithStructWithBigInt { type EnumWithInlineStructWithBigInt (line 46) | enum EnumWithInlineStructWithBigInt { type Recursive (line 52) | struct Recursive { type Testing (line 57) | struct Testing { type Another (line 62) | struct Another { type EmptyStruct (line 68) | struct EmptyStruct {} type EmptyNamedVariant (line 72) | enum EmptyNamedVariant { type SerdeTaggedEnum (line 79) | enum SerdeTaggedEnum { type InvalidInternallyTaggedEnum (line 87) | enum InvalidInternallyTaggedEnum { type Testing (line 95) | pub struct Testing { type Testing (line 103) | pub struct Testing { function inline_for (line 109) | fn inline_for(zod: &Zod) -> Result { function temp_root (line 115) | fn temp_root() -> std::path::PathBuf { function zod_export_smoke (line 122) | fn zod_export_smoke() { function zod_primitives_smoke (line 147) | fn zod_primitives_smoke() { function zod_bigint_export_behaviors (line 169) | fn zod_bigint_export_behaviors() { function zod_bigint_errors_propagate_from_nested_types (line 190) | fn zod_bigint_errors_propagate_from_nested_types() { function zod_layout_duplicate_typenames (line 206) | fn zod_layout_duplicate_typenames() { function zod_layout_files_export_to (line 222) | fn zod_layout_files_export_to() { function zod_uses_serde_transformed_resolved_types (line 238) | fn zod_uses_serde_transformed_resolved_types() { function zod_empty_named_shapes_are_strict (line 248) | fn zod_empty_named_shapes_are_strict() { function zod_layout_files_preserves_unrelated_typescript_files (line 257) | fn zod_layout_files_preserves_unrelated_typescript_files() { function typescript_layout_files_preserves_unrelated_typescript_files (line 280) | fn typescript_layout_files_preserves_unrelated_typescript_files() { function zod_recursive_types_use_lazy (line 303) | fn zod_recursive_types_use_lazy() { function zod_reserved_type_name_errors (line 312) | fn zod_reserved_type_name_errors() { function zod_layout_files_errors_on_export (line 324) | fn zod_layout_files_errors_on_export() { function temp_dir (line 333) | fn temp_dir() -> TempDir { function export_for (line 337) | fn export_for() -> Result {