pub enum MemoryType {
Decision,
Pattern,
Preference,
Style,
Habit,
Insight,
Context,
}Expand description
The 7 memory types inspired by AutoMem research.
Variants§
Decision
Architectural and design decisions made during development.
Pattern
Recurring code patterns observed across files.
Preference
Team/project preferences (e.g., “prefers explicit error types”).
Style
Coding style norms (e.g., “early returns, max 20 lines”).
Habit
Workflow habits (e.g., “tests written before implementation”).
Insight
Cross-domain insights discovered during consolidation.
Context
File contents and structural context from code exploration.
Trait Implementations§
Source§impl Clone for MemoryType
impl Clone for MemoryType
Source§fn clone(&self) -> MemoryType
fn clone(&self) -> MemoryType
Returns a duplicate of the value. Read more
1.0.0 · 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 MemoryType
impl Debug for MemoryType
Source§impl<'de> Deserialize<'de> for MemoryType
impl<'de> Deserialize<'de> for MemoryType
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 Display for MemoryType
impl Display for MemoryType
Source§impl FromStr for MemoryType
impl FromStr for MemoryType
Source§impl Hash for MemoryType
impl Hash for MemoryType
Source§impl PartialEq for MemoryType
impl PartialEq for MemoryType
Source§impl Serialize for MemoryType
impl Serialize for MemoryType
impl Copy for MemoryType
impl Eq for MemoryType
impl StructuralPartialEq for MemoryType
Auto Trait Implementations§
impl Freeze for MemoryType
impl RefUnwindSafe for MemoryType
impl Send for MemoryType
impl Sync for MemoryType
impl Unpin for MemoryType
impl UnsafeUnpin for MemoryType
impl UnwindSafe for MemoryType
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