Skip to main content

Module schema_value

Module schema_value 

Source

Structs§

BinaryValuePayload
DurationValuePayload
Signed duration as total nanoseconds.
PermissionCardValuePayload
Capability value: the trusted internal/persistent representation of a permission-card, held only inside SchemaValue::PermissionCard. Across a WIT boundary the card travels as an opaque, unforgeable owned handle (permission-card-handle(own<permission-card>)); the host converts between this snapshot and a handle through a resolver and the receiver re-acquires the live card against card_id on demand. This snapshot is never exposed to or constructible by a guest.
QuotaTokenValuePayload
Capability value: the trusted internal/persistent representation of a quota-token, held only inside SchemaValue::QuotaToken. Across a WIT boundary the token travels as an opaque, unforgeable owned handle (quota-token-handle(own<quota-token>)); the host converts between this snapshot and a handle through a resolver and the receiver re-acquires a live lease against (environment_id, resource_name) on demand. This snapshot is never exposed to or constructible by a guest.
SecretValuePayload
Capability value: the trusted host snapshot of a secret handle.
TextValuePayload
UnionValuePayload
VariantValuePayload

Enums§

ResultValuePayload
Result payload: exactly one of Ok / Err is set. Each inner option allows result<_, _> cases whose ok/err type is unit (no payload).
SchemaValue
One node in the recursive in-memory schema-value tree.

Type Aliases§

PermissionCardVariantValue
The payload carried by SchemaValue::PermissionCard on a guest: an opaque, affine owned handle. See PermissionCardVariantValue (host build) for details.
QuotaTokenVariantValue
The payload carried by SchemaValue::QuotaToken on a guest: an opaque, affine owned handle. See QuotaTokenVariantValue (host build) for details.
SecretVariantValue
The payload carried by SchemaValue::Secret on a guest: an opaque, affine owned handle. See SecretVariantValue (host build) for details.