pub struct Automation {Show 15 fields
pub id: String,
pub name: String,
pub description: Option<String>,
pub status: String,
pub trigger_type: String,
pub trigger_config: Value,
pub entry_segment_id: Option<String>,
pub reentry_policy: String,
pub reentry_cooldown_seconds: Option<u64>,
pub total_runs: u64,
pub active_runs: u64,
pub completed_runs: u64,
pub failed_runs: u64,
pub created_at: String,
pub updated_at: String,
}Expand description
Automation record.
Fields§
§id: StringAutomation id.
name: StringDisplay name.
description: Option<String>Description.
status: Stringdraft, active, paused, or archived.
trigger_type: StringTrigger type.
trigger_config: ValueTrigger config blob.
entry_segment_id: Option<String>Optional entry segment.
reentry_policy: StringRe-entry policy.
reentry_cooldown_seconds: Option<u64>Cooldown in seconds (when policy = cooldown).
total_runs: u64Total runs ever.
active_runs: u64Currently active runs.
completed_runs: u64Completed runs.
failed_runs: u64Failed runs.
created_at: StringCreated.
updated_at: StringUpdated.
Trait Implementations§
Source§impl Clone for Automation
impl Clone for Automation
Source§fn clone(&self) -> Automation
fn clone(&self) -> Automation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Automation
impl Debug for Automation
Source§impl<'de> Deserialize<'de> for Automation
impl<'de> Deserialize<'de> for Automation
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 Automation
impl RefUnwindSafe for Automation
impl Send for Automation
impl Sync for Automation
impl Unpin for Automation
impl UnsafeUnpin for Automation
impl UnwindSafe for Automation
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