pub struct WorkflowSummary {
pub category: Option<String>,
pub name: String,
pub paused_at: Option<DateTime<Utc>>,
pub schedule: Option<String>,
pub version: Option<String>,
}Expand description
Summary entry returned by GET /api/v1/workflows.
JSON schema
{
"description": "Summary entry returned by `GET /api/v1/workflows`.",
"type": "object",
"required": [
"name"
],
"properties": {
"category": {
"description": "Optional `/`-separated category path.",
"type": [
"string",
"null"
]
},
"name": {
"description": "Workflow name (unique identifier).",
"type": "string"
},
"paused_at": {
"description": "When the workflow was paused: its queued runs are not picked up until\nit is resumed. Omitted when the workflow is not paused.",
"type": [
"string",
"null"
],
"format": "date-time"
},
"schedule": {
"description": "Optional 6-field cron expression for automatic execution.",
"type": [
"string",
"null"
]
},
"version": {
"description": "Current handler version.",
"type": [
"string",
"null"
]
}
}
}
```ignore
</details>Fields§
§category: Option<String>Optional /-separated category path.
name: StringWorkflow name (unique identifier).
paused_at: Option<DateTime<Utc>>When the workflow was paused: its queued runs are not picked up until it is resumed. Omitted when the workflow is not paused.
schedule: Option<String>Optional 6-field cron expression for automatic execution.
version: Option<String>Current handler version.
Implementations§
Source§impl WorkflowSummary
impl WorkflowSummary
pub fn builder() -> WorkflowSummary
Trait Implementations§
Source§impl Clone for WorkflowSummary
impl Clone for WorkflowSummary
Source§impl Debug for WorkflowSummary
impl Debug for WorkflowSummary
Source§impl<'de> Deserialize<'de> for WorkflowSummary
impl<'de> Deserialize<'de> for WorkflowSummary
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
Source§impl From<WorkflowSummary> for WorkflowSummary
impl From<WorkflowSummary> for WorkflowSummary
Source§fn from(value: WorkflowSummary) -> Self
fn from(value: WorkflowSummary) -> Self
Converts to this type from the input type.
Source§impl Serialize for WorkflowSummary
impl Serialize for WorkflowSummary
Source§impl TryFrom<WorkflowSummary> for WorkflowSummary
impl TryFrom<WorkflowSummary> for WorkflowSummary
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: WorkflowSummary) -> Result<Self, ConversionError>
fn try_from(value: WorkflowSummary) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for WorkflowSummary
impl RefUnwindSafe for WorkflowSummary
impl Send for WorkflowSummary
impl Sync for WorkflowSummary
impl Unpin for WorkflowSummary
impl UnsafeUnpin for WorkflowSummary
impl UnwindSafe for WorkflowSummary
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