pub struct AutomationRun {
pub automation: String,
pub at: Timestamp,
pub items: u32,
pub action: String,
pub error: Option<String>,
}Expand description
One run of an automation (ADR 0013).
Fields§
§automation: StringThe [[automation]] name.
at: TimestampWhen it ran.
items: u32New items acted on (0 when nothing was new).
action: StringWhat it did: text, prompt, none (nothing new) or primed (first poll).
error: Option<String>Why it failed, when it did.
Trait Implementations§
Source§impl Clone for AutomationRun
impl Clone for AutomationRun
Source§impl Debug for AutomationRun
impl Debug for AutomationRun
impl Eq for AutomationRun
Source§impl PartialEq for AutomationRun
impl PartialEq for AutomationRun
impl StructuralPartialEq for AutomationRun
Auto Trait Implementations§
impl Freeze for AutomationRun
impl RefUnwindSafe for AutomationRun
impl Send for AutomationRun
impl Sync for AutomationRun
impl Unpin for AutomationRun
impl UnsafeUnpin for AutomationRun
impl UnwindSafe for AutomationRun
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