Skip to main content

Module ids

Module ids 

Source
Expand description

Branded identifiers shared by every Factory crate.

Each id is a distinct newtype over a non-empty string so a SessionId can never be passed where a RunId is expected. Serialization, Display, ordering and hashing behave like the underlying string; store adapters bind as_str and wire adapters convert with TryFrom<String> / FromStr, which reject empty or whitespace-only input. There is no infallible constructor and no Default.

Structsยง

ActionIntentId
Durable workflow action intent identity.
EmptyId
The value given to an id constructor was empty or whitespace.
InputId
One queued input inside a Session inbox.
InstanceId
Durable workflow instance identity.
InteractionId
One interaction (approval or question) awaiting resolution.
NodeId
Docs tree node (folder or document) identity.
ProfileRevisionId
Immutable Agent Profile revision pinned by a Session.
RequestId
Transport request identity used for tracing and idempotency.
RunId
One Run inside a Session.
SessionId
Append-only Agent Session identity.
SpaceId
Docs Space identity.
SubjectId
Authenticated subject acting inside a tenant.
TenantId
Tenant that owns every durable record.
ToolCallId
Correlates a tool call with its result.