pub struct CronInstructions {
pub project: String,
pub phase: u32,
pub status: String,
pub retry_after: String,
pub resume: ResumeCommand,
pub hermes_cron: HermesCronJob,
}Expand description
Manifest consumed by Hermes to resume a rate-limited DevFlow run later.
Fields§
§project: StringAbsolute project root.
phase: u32Phase that should resume.
status: StringCurrent handoff status, e.g. “rate_limited”.
retry_after: StringUpstream retry timestamp or description.
resume: ResumeCommandDevFlow resume command.
hermes_cron: HermesCronJobHermes cron job definition derived from the retry timestamp.
Trait Implementations§
Source§impl Clone for CronInstructions
impl Clone for CronInstructions
Source§fn clone(&self) -> CronInstructions
fn clone(&self) -> CronInstructions
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 CronInstructions
impl Debug for CronInstructions
Source§impl<'de> Deserialize<'de> for CronInstructions
impl<'de> Deserialize<'de> for CronInstructions
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 CronInstructions
Source§impl PartialEq for CronInstructions
impl PartialEq for CronInstructions
Source§impl Serialize for CronInstructions
impl Serialize for CronInstructions
impl StructuralPartialEq for CronInstructions
Auto Trait Implementations§
impl Freeze for CronInstructions
impl RefUnwindSafe for CronInstructions
impl Send for CronInstructions
impl Sync for CronInstructions
impl Unpin for CronInstructions
impl UnsafeUnpin for CronInstructions
impl UnwindSafe for CronInstructions
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