pub struct MemoryCandidate {
pub text: String,
pub layer: String,
pub importance: u8,
pub source_event: HookEvent,
pub source_tool: Option<String>,
pub confidence: f32,
pub is_error: bool,
pub is_task: bool,
pub association_id: Option<String>,
}Fields§
§text: String§layer: String§importance: u8§source_event: HookEvent§source_tool: Option<String>§confidence: f32§is_error: bool§is_task: bool§association_id: Option<String>Trait Implementations§
Source§impl Clone for MemoryCandidate
impl Clone for MemoryCandidate
Source§impl Debug for MemoryCandidate
impl Debug for MemoryCandidate
Source§impl<'de> Deserialize<'de> for MemoryCandidate
impl<'de> Deserialize<'de> for MemoryCandidate
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 MemoryCandidate
impl RefUnwindSafe for MemoryCandidate
impl Send for MemoryCandidate
impl Sync for MemoryCandidate
impl Unpin for MemoryCandidate
impl UnsafeUnpin for MemoryCandidate
impl UnwindSafe for MemoryCandidate
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