pub struct Wake {
pub id: String,
pub reason: WakeReason,
pub prompt: String,
pub started: DateTime<Utc>,
pub finished: Option<DateTime<Utc>>,
pub ok: bool,
pub answer: String,
}Expand description
One time a repository woke its machine agent: its code ran wake.sh (called),
entry.sh crashed (crashed), or the hourly limit left it out (skipped).
Fields§
§id: String§reason: WakeReason§prompt: StringWhat the agent was told: wake.sh’s prompt, or how entry.sh ended.
started: DateTime<Utc>§finished: Option<DateTime<Utc>>When the woken run ended, or None while it works.
ok: bool§answer: StringWhat the agent said when it finished, or why it stopped.
Implementations§
Trait Implementations§
impl Eq for Wake
impl StructuralPartialEq for Wake
Auto Trait Implementations§
impl Forget for Wake
impl Freeze for Wake
impl Move for Wake
impl RefUnwindSafe for Wake
impl Send for Wake
impl Sync for Wake
impl Unpin for Wake
impl UnsafeUnpin for Wake
impl UnwindSafe for Wake
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.