pub struct ActionRecord {
pub kind: ActionKind,
pub at: DateTime<Utc>,
pub note: String,
}Expand description
One durable record of a daemon decision. kind is a
coarse-grained enum so /headless status can paint a terse
“last 3 decisions” line without loading the full log.
Fields§
§kind: ActionKind§at: DateTime<Utc>§note: StringOne-line operator-readable summary. Must be non-empty.
Trait Implementations§
Source§impl Clone for ActionRecord
impl Clone for ActionRecord
Source§impl Debug for ActionRecord
impl Debug for ActionRecord
Source§impl<'de> Deserialize<'de> for ActionRecord
impl<'de> Deserialize<'de> for ActionRecord
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 ActionRecord
Source§impl PartialEq for ActionRecord
impl PartialEq for ActionRecord
Source§impl Serialize for ActionRecord
impl Serialize for ActionRecord
impl StructuralPartialEq for ActionRecord
Auto Trait Implementations§
impl Forget for ActionRecord
impl Freeze for ActionRecord
impl Move for ActionRecord
impl RefUnwindSafe for ActionRecord
impl Send for ActionRecord
impl Sync for ActionRecord
impl Unpin for ActionRecord
impl UnsafeUnpin for ActionRecord
impl UnwindSafe for ActionRecord
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.