#[non_exhaustive]pub struct CronReceipt {
pub job_id: Option<String>,
pub next_fire_at_ms: Option<i64>,
pub jobs: Option<Vec<CronReceiptJob>>,
}Expand description
Cron’s details payload.
Every field a family owns lives here, under the container’s one details
key, rather than flat beside the discriminators. Each is a bounded machine
fact: scalars, short identifiers and a small fixed-shape array of those.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.job_id: Option<String>Cron create and delete: the job id. On delete’s missing arm this
is the caller’s own id echoed back — that arm has no server-side subject
to name.
On the created + cancelled pairing, this field also conveys the
hidden fact: a job row was committed and will fire.
next_fire_at_ms: Option<i64>Cron create (created, duplicate): absolute epoch-milliseconds of
the job’s next scheduled fire.
jobs: Option<Vec<CronReceiptJob>>Cron list: the served jobs in server order, active and firing
rows only.
Trait Implementations§
Source§impl Clone for CronReceipt
impl Clone for CronReceipt
Source§impl Debug for CronReceipt
impl Debug for CronReceipt
Source§impl Default for CronReceipt
impl Default for CronReceipt
Source§impl<'de> Deserialize<'de> for CronReceipt
impl<'de> Deserialize<'de> for CronReceipt
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 CronReceipt
Source§impl PartialEq for CronReceipt
impl PartialEq for CronReceipt
Source§impl Serialize for CronReceipt
impl Serialize for CronReceipt
impl StructuralPartialEq for CronReceipt
Auto Trait Implementations§
impl Freeze for CronReceipt
impl RefUnwindSafe for CronReceipt
impl Send for CronReceipt
impl Sync for CronReceipt
impl Unpin for CronReceipt
impl UnsafeUnpin for CronReceipt
impl UnwindSafe for CronReceipt
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