pub struct ScheduleEntry {
pub tenant_id: String,
pub agent_id: String,
pub config: AgentScheduleConfig,
pub last_fired_at: Option<String>,
pub next_fire_at: Option<String>,
pub consecutive_failures: i64,
pub status: ScheduleEntryStatus,
}Expand description
What PUT /agents/{agentId}/schedule returns: the stored entry with its config nested
(ScheduleEntry in @uarp/scheduler). GET returns the flattened Schedule instead.
Fields§
§tenant_id: String§agent_id: String§config: AgentScheduleConfig§last_fired_at: Option<String>§next_fire_at: Option<String>The next fire when enabled is true. On a disabled schedule the server keeps the last
computed instant, so it can lie in the past (measured 2026-09-10 on two disabled entries).
consecutive_failures: i64§status: ScheduleEntryStatusState of the scheduler ENTRY (ScheduleEntry.status in @uarp/scheduler), not whether the
schedule is switched on: measured 2026-09-10, active on every live entry, including two
with enabled: false. The human-facing on/off is enabled.
Trait Implementations§
Source§impl Clone for ScheduleEntry
impl Clone for ScheduleEntry
Source§fn clone(&self) -> ScheduleEntry
fn clone(&self) -> ScheduleEntry
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 ScheduleEntry
impl Debug for ScheduleEntry
Source§impl Default for ScheduleEntry
impl Default for ScheduleEntry
Source§fn default() -> ScheduleEntry
fn default() -> ScheduleEntry
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ScheduleEntry
impl<'de> Deserialize<'de> for ScheduleEntry
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
Source§impl PartialEq for ScheduleEntry
impl PartialEq for ScheduleEntry
Source§impl Serialize for ScheduleEntry
impl Serialize for ScheduleEntry
impl StructuralPartialEq for ScheduleEntry
Auto Trait Implementations§
impl Freeze for ScheduleEntry
impl RefUnwindSafe for ScheduleEntry
impl Send for ScheduleEntry
impl Sync for ScheduleEntry
impl Unpin for ScheduleEntry
impl UnsafeUnpin for ScheduleEntry
impl UnwindSafe for ScheduleEntry
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