Skip to main content
Cloacina Documentation
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Workflow Registry

cloacina::models::workflow_registry Rust

Database models for workflow registry storage.

This module defines domain structures for workflow registry storage. These are API-level types; backend-specific models handle database storage.

Structs

cloacina::models::workflow_registry::WorkflowRegistryEntry

pub

Derives: Debug, Clone, Serialize, Deserialize

Domain model for a workflow registry entry.

Fields

Name Type Description
id UniversalUuid
created_at UniversalTimestamp
data Vec < u8 >

cloacina::models::workflow_registry::NewWorkflowRegistryEntry

pub

Derives: Debug, Clone, Serialize, Deserialize

Model for creating new workflow registry entries (domain type).

Fields

Name Type Description
data Vec < u8 >

Methods

new pub
fn new (data : Vec < u8 >) -> Self
Source
    pub fn new(data: Vec<u8>) -> Self {
        Self { data }
    }

cloacina::models::workflow_registry::NewWorkflowRegistryEntryWithId

pub

Derives: Debug, Clone, Serialize, Deserialize

Model for creating new workflow registry entries with explicit ID and timestamp.

Fields

Name Type Description
id UniversalUuid
created_at UniversalTimestamp
data Vec < u8 >