Package org.starcoin.serde.format
Module defining the Abstract Syntax Tree (AST) of Serde formats.
- See Also:
- serde-reflection/src/format.rs
-
Interface Summary Interface Description IReferenceContainerType "I Reference Container Type" interface. -
Class Summary Class Description ContainerFormat Serde-based serialization format for named "container" types.ContainerFormat.Enum An enum, that is, an enumeration of variants.ContainerFormat.NewTypeStruct A struct with a single unnamed parameter, e.g.ContainerFormat.Struct A struct with named parameters, e.g.ContainerFormat.TupleStruct A struct with several unnamed parameters, e.g.ContainerFormat.UnitStruct An empty struct, e.g.Format Serde-based serialization format for anonymous "value" types.Format.Map Format.Option Format.Primitive The formats of primitive types.Format.Seq Format.Tuple A tuple, e.g.Format.TupleArray Alias for `(Foo, ...Format.TypeName The name of a container.Named<T> A named value.NamedFormat NamedVariantFormat VariantFormat Description of a variant in an enum.VariantFormat.NewType A variant with a single unnamed parameter, e.g.VariantFormat.Struct A struct with named parameters, e.g.VariantFormat.Tuple A struct with several unnamed parameters, e.g.VariantFormat.Unit A variant without parameters, e.g.