pub struct WorkflowSchedule {Show 15 fields
pub name: String,
pub cron_expression: String,
pub start_workflow_request: Option<StartWorkflowScheduleRequest>,
pub paused: bool,
pub paused_reason: Option<String>,
pub run_catchup_schedule_instances: bool,
pub schedule_start_time: Option<i64>,
pub schedule_end_time: Option<i64>,
pub zone_id: Option<String>,
pub description: Option<String>,
pub create_time: Option<i64>,
pub created_by: Option<String>,
pub updated_time: Option<i64>,
pub updated_by: Option<String>,
pub next_run_time: Option<i64>,
}Expand description
Workflow schedule definition.
Fields§
§name: StringSchedule name (unique identifier).
cron_expression: StringCron expression for the schedule.
start_workflow_request: Option<StartWorkflowScheduleRequest>Start workflow request parameters
paused: boolWhether the schedule is paused.
paused_reason: Option<String>Why the schedule is paused, if it was paused with a reason. Server-populated;
there is no way to set this on save – see SaveScheduleRequest.
run_catchup_schedule_instances: boolWhether to run tasks that were missed during the paused period.
schedule_start_time: Option<i64>Schedule start time (epoch ms).
schedule_end_time: Option<i64>Schedule end time (epoch ms).
zone_id: Option<String>Timezone for the cron expression.
description: Option<String>Human-readable description.
create_time: Option<i64>Create time (epoch ms).
created_by: Option<String>Created by user.
updated_time: Option<i64>Update time (epoch ms)
The server field is updatedTime, not updateTime.
updated_by: Option<String>Updated by user.
next_run_time: Option<i64>Next scheduled run time (epoch ms), if the server has computed one.
Trait Implementations§
Source§impl Clone for WorkflowSchedule
impl Clone for WorkflowSchedule
Source§impl Debug for WorkflowSchedule
impl Debug for WorkflowSchedule
Source§impl Default for WorkflowSchedule
impl Default for WorkflowSchedule
Source§impl<'de> Deserialize<'de> for WorkflowSchedule
impl<'de> Deserialize<'de> for WorkflowSchedule
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 WorkflowSchedule
impl RefUnwindSafe for WorkflowSchedule
impl Send for WorkflowSchedule
impl Sync for WorkflowSchedule
impl Unpin for WorkflowSchedule
impl UnsafeUnpin for WorkflowSchedule
impl UnwindSafe for WorkflowSchedule
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