Package org.starcoin.serde.format
Class ContainerFormat
java.lang.Object
org.starcoin.serde.format.ContainerFormat
- All Implemented Interfaces:
IReferenceContainerType
- Direct Known Subclasses:
ContainerFormat.Enum,ContainerFormat.NewTypeStruct,ContainerFormat.Struct,ContainerFormat.TupleStruct,ContainerFormat.UnitStruct
public abstract class ContainerFormat extends Object implements IReferenceContainerType
Serde-based serialization format for named "container" types.
In Rust, those are enums and structs.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classContainerFormat.EnumAn enum, that is, an enumeration of variants.static classContainerFormat.NewTypeStructA struct with a single unnamed parameter, e.g.static classContainerFormat.StructA struct with named parameters, e.g.static classContainerFormat.TupleStructA struct with several unnamed parameters, e.g.static classContainerFormat.UnitStructAn empty struct, e.g. -
Constructor Summary
Constructors Constructor Description ContainerFormat() -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.starcoin.serde.format.IReferenceContainerType
referencedContainerTypeNames
-
Constructor Details
-
ContainerFormat
public ContainerFormat()
-