| 程序包 | 说明 |
|---|---|
| org.starcoin.serde.format |
Module defining the Abstract Syntax Tree (AST) of Serde formats.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
ContainerFormat
Serde-based serialization format for named "container" types.
|
static class |
ContainerFormat.Enum
An enum, that is, an enumeration of variants.
|
static class |
ContainerFormat.NewTypeStruct
A struct with a single unnamed parameter, e.g.
|
static class |
ContainerFormat.Struct
A struct with named parameters, e.g.
|
static class |
ContainerFormat.TupleStruct
A struct with several unnamed parameters, e.g.
|
static class |
ContainerFormat.UnitStruct
An empty struct, e.g.
|
class |
Format
Serde-based serialization format for anonymous "value" types.
|
static class |
Format.Map |
static class |
Format.Option |
static class |
Format.Primitive
The formats of primitive types.
|
static class |
Format.Seq |
static class |
Format.Tuple
A tuple, e.g. the format of `(Foo, Bar)`.
|
static class |
Format.TupleArray
Alias for `(Foo, ...
|
static class |
Format.TypeName
The name of a container.
|
class |
NamedFormat |
class |
NamedVariantFormat |
class |
VariantFormat
Description of a variant in an enum.
|
static class |
VariantFormat.NewType
A variant with a single unnamed parameter, e.g.
|
static class |
VariantFormat.Struct
A struct with named parameters, e.g.
|
static class |
VariantFormat.Tuple
A struct with several unnamed parameters, e.g.
|
static class |
VariantFormat.Unit
A variant without parameters, e.g.
|
Copyright © 2021. All rights reserved.