Skip to main content

Crate lenso_contract_runtime

Crate lenso_contract_runtime 

Source
Expand description

Runtime-neutral wire primitives and serde support for generated Lenso contracts.

Modules§

serde
Serde helpers used by generated field attributes.

Structs§

Bytes
Shared native bytes encoded as canonical padded Base64 on the wire.
UnknownDomainError
A forward-compatible Capability-defined error unknown to this binding version.

Functions§

decode_portable_json
Decodes a typed value after enforcing the portable JSON number profile.
encode_portable_json
Encodes a typed value after enforcing the portable JSON number profile.
validate_portable_json_value
Validates recursively that ordinary JSON numbers are portable across runtimes.

Type Aliases§

Duration
ISO 8601 duration encoded as a string on the wire.
Int64
Signed 64-bit integer encoded as a decimal string on the wire.
OptionalValue
Distinguishes a missing field from an explicit null value.
Timestamp
RFC 3339 timestamp encoded as a string on the wire.
Uint64
Unsigned 64-bit integer encoded as a decimal string on the wire.