Crate ubl_types

Crate ubl_types 

Source
Expand description

Shared atomic identifiers, DIM helpers, and parsers reused across the stack.

Macros§

newtype_id
Macro para newtypes de IDs simples (String-based).

Structs§

ActorId
ActorId identifier newtype (string, trimmed; strict regex when feature=“strict”).
AppId
AppId identifier newtype (string, trimmed; strict regex when feature=“strict”).
Cid32
32-byte Content ID (BLAKE3 hash). Serializes as lowercase hex (no 0x prefix).
Dim
Dimensão (DIM) do protocolo (u16, big-endian no fio).
Intent
Textual intent with canonical bytes (whitespace-insensitive).
NodeId
NodeId identifier newtype (string, trimmed; strict regex when feature=“strict”).
PublicKeyBytes
32-byte Ed25519 public key. Serializes as lowercase hex.
SignatureBytes
64-byte Ed25519 signature. Serializes as lowercase hex.
TenantId
TenantId identifier newtype (string, trimmed; strict regex when feature=“strict”).
TraceId
TraceId identifier newtype (string, trimmed; strict regex when feature=“strict”).

Enums§

AtomError
Shared basic errors for atomic types.