Skip to main content

Module foreign

Module foreign 

Source
Expand description

Canonical-path → JSON Schema mappings for types outside this crate.

Foreign types are absent from rustdoc’s index but present in its paths with a fully-qualified path, so they are always identifiable even when they cannot be walked. This table turns that identity into a schema.

Entries are only added where the serde wire format is known with certainty. An unmapped type becomes a reported gap and an open schema — a wrong mapping would be silently incorrect, which is worse.

Structs§

TypeTable
Built-in and user-supplied mappings from canonical type path to schema.

Enums§

TypeMapping
What a table entry says about a type it cannot walk.