pub struct TemplateLibrary;Expand description
Library of pre-built workflow templates.
Implementations§
Source§impl TemplateLibrary
impl TemplateLibrary
Sourcepub fn ingest_and_transcode() -> WorkflowTemplate
pub fn ingest_and_transcode() -> WorkflowTemplate
Ingest and transcode template.
Steps: watch folder → validate → transcode → deliver.
Sourcepub fn archive_workflow() -> WorkflowTemplate
pub fn archive_workflow() -> WorkflowTemplate
Archive workflow template.
Steps: validate → checksum → archive → notify.
Sourcepub fn qc_review() -> WorkflowTemplate
pub fn qc_review() -> WorkflowTemplate
QC review workflow template.
Steps: analyze → report → approve/reject.
Sourcepub fn all() -> Vec<WorkflowTemplate>
pub fn all() -> Vec<WorkflowTemplate>
Get all built-in templates.
Sourcepub fn find_by_name(name: &str) -> Option<WorkflowTemplate>
pub fn find_by_name(name: &str) -> Option<WorkflowTemplate>
Find a template by name.
Sourcepub fn find_by_category(category: &TemplateCategory) -> Vec<WorkflowTemplate>
pub fn find_by_category(category: &TemplateCategory) -> Vec<WorkflowTemplate>
Find templates by category.
Auto Trait Implementations§
impl Freeze for TemplateLibrary
impl RefUnwindSafe for TemplateLibrary
impl Send for TemplateLibrary
impl Sync for TemplateLibrary
impl Unpin for TemplateLibrary
impl UnsafeUnpin for TemplateLibrary
impl UnwindSafe for TemplateLibrary
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