pub struct JobSummary {
pub job_id: String,
pub job_name: String,
pub script_name: String,
pub enabled: bool,
pub schedule_kind: String,
pub cron_expr: Option<String>,
pub timezone: Option<String>,
pub next_run_at: Option<String>,
pub current_revision: i32,
pub created_at: String,
pub updated_at: String,
}Expand description
Non-sensitive job summary returned by remote GET /jobs (matches Axum JobResponse).
Fields§
§job_id: StringStable job identifier (UUID).
job_name: StringHuman-readable name.
script_name: StringBound script name.
enabled: boolWhether scheduling is active.
schedule_kind: StringSchedule mode as snake_case string (cron, run_once, manual).
cron_expr: Option<String>Cron string when applicable.
timezone: Option<String>Timezone used for cron.
next_run_at: Option<String>Next scheduled fire time (RFC3339) when known.
current_revision: i32Monotonic revision counter.
created_at: StringCreation timestamp (RFC3339).
updated_at: StringLast upsert timestamp (RFC3339).
Trait Implementations§
Source§impl Clone for JobSummary
impl Clone for JobSummary
Source§fn clone(&self) -> JobSummary
fn clone(&self) -> JobSummary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for JobSummary
impl Debug for JobSummary
Source§impl<'de> Deserialize<'de> for JobSummary
impl<'de> Deserialize<'de> for JobSummary
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
impl Eq for JobSummary
Source§impl PartialEq for JobSummary
impl PartialEq for JobSummary
Source§impl Serialize for JobSummary
impl Serialize for JobSummary
impl StructuralPartialEq for JobSummary
Auto Trait Implementations§
impl Freeze for JobSummary
impl RefUnwindSafe for JobSummary
impl Send for JobSummary
impl Sync for JobSummary
impl Unpin for JobSummary
impl UnsafeUnpin for JobSummary
impl UnwindSafe for JobSummary
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