pub struct DutyEntry {
pub at: u64,
pub kind: DutyKind,
pub ok: bool,
pub detail: Option<String>,
}Expand description
A single duty-loop event.
Fields§
§at: u64Unix seconds when the duty ran.
kind: DutyKindDuty kind.
ok: boolWhether the duty succeeded.
detail: Option<String>Optional detail (error message / signed-hash).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DutyEntry
impl<'de> Deserialize<'de> for DutyEntry
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
Auto Trait Implementations§
impl Freeze for DutyEntry
impl RefUnwindSafe for DutyEntry
impl Send for DutyEntry
impl Sync for DutyEntry
impl Unpin for DutyEntry
impl UnsafeUnpin for DutyEntry
impl UnwindSafe for DutyEntry
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