OpenSignatureBody

Representation of a type signature that could appear as a field type for a struct or enum

Types

Link copied to clipboard
sealed class Type

Properties

Link copied to clipboard

Returns the field-presence view for this OpenSignatureBody instance.

Link copied to clipboard

Type of this signature

Link copied to clipboard
abstract val typeName: String?

Fully qualified name of the datatype when type is DATATYPE

Link copied to clipboard
abstract val typeParameter: <Error class: unknown class>?

Position of the type parameter as defined in the containing data type descriptor when type is TYPE_PARAMETER

Link copied to clipboard

Set when type is VECTOR or DATATYPE

Functions

Link copied to clipboard
fun OpenSignatureBody.copy(body: <Error class: unknown class>.() -> Unit = {}): OpenSignatureBody

Copies the original message, including unknown fields.