pub enum SkillEvent {
Retrieval {
ts: DateTime<Utc>,
device_id: String,
},
Execution {
ts: DateTime<Utc>,
device_id: String,
outcome: String,
error: Option<String>,
step: Option<String>,
},
Dismissed {
ts: DateTime<Utc>,
device_id: String,
},
Superseded {
ts: DateTime<Utc>,
device_id: String,
},
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SkillEvent
impl Clone for SkillEvent
Source§fn clone(&self) -> SkillEvent
fn clone(&self) -> SkillEvent
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 SkillEvent
impl Debug for SkillEvent
Source§impl<'de> Deserialize<'de> for SkillEvent
impl<'de> Deserialize<'de> for SkillEvent
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 SkillEvent
impl PartialEq for SkillEvent
Source§fn eq(&self, other: &SkillEvent) -> bool
fn eq(&self, other: &SkillEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SkillEvent
impl Serialize for SkillEvent
impl StructuralPartialEq for SkillEvent
Auto Trait Implementations§
impl Freeze for SkillEvent
impl RefUnwindSafe for SkillEvent
impl Send for SkillEvent
impl Sync for SkillEvent
impl Unpin for SkillEvent
impl UnsafeUnpin for SkillEvent
impl UnwindSafe for SkillEvent
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