Trait CronJobExt

Source
pub trait CronJobExt: ResourceBuilder + Sized {
    // Required methods
    fn new(name: impl ToString) -> Self;
    fn with_labels(
        name: impl ToString,
        labels: impl IntoIterator<Item = (impl ToString, impl ToString)>,
    ) -> Self;
    fn starting_deadline_seconds(self, seconds: i64) -> Self;
    fn schedule(self, schedule: impl ToString) -> Self;
    fn suspend(self, yes: bool) -> Self;
    fn template(self, template: JobTemplateSpec) -> Self;
}

Required Methods§

Source

fn new(name: impl ToString) -> Self

Source

fn with_labels( name: impl ToString, labels: impl IntoIterator<Item = (impl ToString, impl ToString)>, ) -> Self

Source

fn starting_deadline_seconds(self, seconds: i64) -> Self

Source

fn schedule(self, schedule: impl ToString) -> Self

Source

fn suspend(self, yes: bool) -> Self

Source

fn template(self, template: JobTemplateSpec) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§