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§
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
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.