pub struct ScheduleResponse {
pub id: Uuid,
pub workflow_name: String,
pub cron_expression: String,
pub inputs: Value,
pub source: ScheduleSource,
pub disabled_at: Option<DateTime<Utc>>,
pub last_triggered_at: Option<DateTime<Utc>>,
pub next_trigger_at: Option<DateTime<Utc>>,
pub created_by_user_id: Uuid,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}Expand description
Schedule list/detail response.
Fields§
§id: UuidSchedule ID.
workflow_name: StringName of the workflow to trigger.
cron_expression: StringCron expression.
inputs: ValueJSON payload passed to the workflow.
source: ScheduleSourceWhere this schedule was created (handler or api).
disabled_at: Option<DateTime<Utc>>When the schedule was disabled. None means active.
last_triggered_at: Option<DateTime<Utc>>When the schedule last created a run.
next_trigger_at: Option<DateTime<Utc>>When the schedule will next fire.
created_by_user_id: UuidUser who created the schedule.
created_at: DateTime<Utc>When the schedule was created.
updated_at: DateTime<Utc>When the schedule was last updated.
Trait Implementations§
Source§impl Debug for ScheduleResponse
impl Debug for ScheduleResponse
Source§impl From<Schedule> for ScheduleResponse
impl From<Schedule> for ScheduleResponse
Auto Trait Implementations§
impl Freeze for ScheduleResponse
impl RefUnwindSafe for ScheduleResponse
impl Send for ScheduleResponse
impl Sync for ScheduleResponse
impl Unpin for ScheduleResponse
impl UnsafeUnpin for ScheduleResponse
impl UnwindSafe for ScheduleResponse
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