pub struct PgWorkflowTables {
pub states: String,
pub leases: String,
pub operations: String,
pub side_effects: String,
}Expand description
Table names used by crate::PgWorkflowStore.
Fields§
§states: StringPersisted workflow context table.
leases: StringPer-workflow lease table.
operations: StringWorkflow operation idempotency table.
side_effects: StringSide-effect idempotency table.
Implementations§
Source§impl PgWorkflowTables
impl PgWorkflowTables
Sourcepub fn schema_commands(&self) -> Vec<Qail>
pub fn schema_commands(&self) -> Vec<Qail>
Return QAIL AST commands that create the workflow storage tables.
These commands are intentionally plain CREATE TABLE ASTs. Run them in
a migration or fresh database bootstrap path; existing installations
should use normal QAIL migrations for schema changes.
Trait Implementations§
Source§impl Clone for PgWorkflowTables
impl Clone for PgWorkflowTables
Source§impl Debug for PgWorkflowTables
impl Debug for PgWorkflowTables
Source§impl Default for PgWorkflowTables
impl Default for PgWorkflowTables
impl Eq for PgWorkflowTables
Source§impl PartialEq for PgWorkflowTables
impl PartialEq for PgWorkflowTables
impl StructuralPartialEq for PgWorkflowTables
Auto Trait Implementations§
impl Freeze for PgWorkflowTables
impl RefUnwindSafe for PgWorkflowTables
impl Send for PgWorkflowTables
impl Sync for PgWorkflowTables
impl Unpin for PgWorkflowTables
impl UnsafeUnpin for PgWorkflowTables
impl UnwindSafe for PgWorkflowTables
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more