pub struct ScheduleSummary {
pub agent_id: String,
pub agent_name: Option<String>,
pub cron: String,
pub enabled: bool,
pub status: String,
pub next_fire_at: Option<String>,
}Expand description
ScheduleSummary model.
Fields§
§agent_id: String§agent_name: Option<String>Resolved for display; absent if the agent record is gone.
cron: String§enabled: bool§status: Stringpaused or error, or accumulated failures, is what a “silently dead cron” looks like.
next_fire_at: Option<String>Trait Implementations§
Source§impl Clone for ScheduleSummary
impl Clone for ScheduleSummary
Source§fn clone(&self) -> ScheduleSummary
fn clone(&self) -> ScheduleSummary
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 ScheduleSummary
impl Debug for ScheduleSummary
Source§impl Default for ScheduleSummary
impl Default for ScheduleSummary
Source§fn default() -> ScheduleSummary
fn default() -> ScheduleSummary
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ScheduleSummary
impl<'de> Deserialize<'de> for ScheduleSummary
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 ScheduleSummary
impl PartialEq for ScheduleSummary
Source§impl Serialize for ScheduleSummary
impl Serialize for ScheduleSummary
impl StructuralPartialEq for ScheduleSummary
Auto Trait Implementations§
impl Freeze for ScheduleSummary
impl RefUnwindSafe for ScheduleSummary
impl Send for ScheduleSummary
impl Sync for ScheduleSummary
impl Unpin for ScheduleSummary
impl UnsafeUnpin for ScheduleSummary
impl UnwindSafe for ScheduleSummary
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