pub struct Workflow {Show 42 fields
pub id: i64,
pub name: String,
pub description: Option<String>,
pub workflow_type: Option<String>,
pub entry_url: Option<String>,
pub steps: Option<Value>,
pub form_data: Option<Value>,
pub functions: Option<Value>,
pub is_active: Option<i64>,
pub is_verified: Option<i64>,
pub timeout_ms: Option<i64>,
pub retry_count: Option<i64>,
pub headless: Option<i64>,
pub schedule_enabled: Option<i64>,
pub schedule_interval_ms: Option<i64>,
pub schedule_kind: Option<String>,
pub schedule_time: Option<String>,
pub schedule_days: Option<String>,
pub schedule_tz: Option<String>,
pub last_scheduled_at: Option<String>,
pub next_scheduled_at: Option<String>,
pub default_persona_id: Option<i64>,
pub http_capable: Option<i64>,
pub usage_count: Option<i64>,
pub total_run_count: Option<i64>,
pub total_failure_count: Option<i64>,
pub consecutive_failures: Option<i64>,
pub last_run_at: Option<String>,
pub last_run_status: Option<String>,
pub last_run_duration_ms: Option<i64>,
pub last_failure_at: Option<String>,
pub last_failure_error: Option<String>,
pub cloud_callable: Option<i64>,
pub execution_target: Option<String>,
pub marketplace_slug: Option<String>,
pub created_at: Option<String>,
pub updated_at: Option<String>,
pub has_credentials: Option<bool>,
pub credential_keys: Option<Vec<String>>,
pub placeholders: Option<Vec<Value>>,
pub has_login: Option<bool>,
pub extra: Extra,
}Expand description
A workflow row as returned by the API (store/workflows.rs::Workflow, shaped by
api/v1/workflows.rs::redact): credentials_encrypted never appears; the daemon
adds has_credentials, credential_keys, placeholders, has_login and
re-hydrates JSON-TEXT columns (steps, functions, …) into real JSON.
Fields§
§id: i64§name: String§description: Option<String>§workflow_type: Option<String>§entry_url: Option<String>§steps: Option<Value>Recorded steps, re-hydrated to a JSON array by the daemon.
form_data: Option<Value>§functions: Option<Value>§is_active: Option<i64>§is_verified: Option<i64>§timeout_ms: Option<i64>§retry_count: Option<i64>§headless: Option<i64>§schedule_enabled: Option<i64>§schedule_interval_ms: Option<i64>§schedule_kind: Option<String>interval (default) | daily | weekly.
schedule_time: Option<String>“HH:MM” local wall-clock fire time (daily/weekly).
schedule_days: Option<String>JSON array string of ISO weekday ints (weekly only) — not re-hydrated.
schedule_tz: Option<String>§last_scheduled_at: Option<String>§next_scheduled_at: Option<String>§default_persona_id: Option<i64>§http_capable: Option<i64>§usage_count: Option<i64>§total_run_count: Option<i64>§total_failure_count: Option<i64>§consecutive_failures: Option<i64>§last_run_at: Option<String>§last_run_status: Option<String>§last_run_duration_ms: Option<i64>§last_failure_at: Option<String>§last_failure_error: Option<String>§cloud_callable: Option<i64>§execution_target: Option<String>§marketplace_slug: Option<String>§created_at: Option<String>§updated_at: Option<String>§has_credentials: Option<bool>§credential_keys: Option<Vec<String>>Name-only view of the sealed credential map’s keys — never values.
placeholders: Option<Vec<Value>>{key, label, field_type} run-input descriptors.
has_login: Option<bool>§extra: ExtraTrait Implementations§
Source§impl<'de> Deserialize<'de> for Workflow
impl<'de> Deserialize<'de> for Workflow
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Workflow
impl RefUnwindSafe for Workflow
impl Send for Workflow
impl Sync for Workflow
impl Unpin for Workflow
impl UnsafeUnpin for Workflow
impl UnwindSafe for Workflow
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