pub struct CronJob {Show 21 fields
pub id: String,
pub name: String,
pub description: Option<String>,
pub enabled: bool,
pub schedule_kind: String,
pub schedule_expr: Option<String>,
pub schedule_every_ms: Option<i64>,
pub schedule_tz: Option<String>,
pub agent_id: String,
pub session_target: String,
pub payload_json: String,
pub delivery_mode: Option<String>,
pub delivery_channel: Option<String>,
pub last_run_at: Option<String>,
pub last_status: Option<String>,
pub last_duration_ms: Option<i64>,
pub consecutive_errors: i64,
pub next_run_at: Option<String>,
pub last_error: Option<String>,
pub lease_holder: Option<String>,
pub lease_expires_at: Option<String>,
}Fields§
§id: String§name: String§description: Option<String>§enabled: bool§schedule_kind: String§schedule_expr: Option<String>§schedule_every_ms: Option<i64>§schedule_tz: Option<String>§agent_id: String§session_target: String§payload_json: String§delivery_mode: Option<String>§delivery_channel: Option<String>§last_run_at: Option<String>§last_status: Option<String>§last_duration_ms: Option<i64>§consecutive_errors: i64§next_run_at: Option<String>§last_error: Option<String>§lease_holder: Option<String>§lease_expires_at: Option<String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for CronJob
impl RefUnwindSafe for CronJob
impl Send for CronJob
impl Sync for CronJob
impl Unpin for CronJob
impl UnsafeUnpin for CronJob
impl UnwindSafe for CronJob
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more