pub struct MemoryConfig {Show 15 fields
pub path: PathBuf,
pub agent_id: String,
pub embedder: String,
pub embedding_dim: usize,
pub chunk_size: usize,
pub overlap: usize,
pub float16: bool,
pub compression: bool,
pub compression_level: u32,
pub compact_threshold: f32,
pub hebbian_boost: f32,
pub decay_factor: f32,
pub created_at: String,
pub wal_enabled: bool,
pub wal_max_entries: usize,
}Fields§
§path: PathBuf§agent_id: String§embedder: String§embedding_dim: usize§chunk_size: usize§overlap: usize§float16: bool§compression: bool§compression_level: u32§compact_threshold: f32§hebbian_boost: f32§decay_factor: f32§created_at: String§wal_enabled: bool§wal_max_entries: usizeImplementations§
Trait Implementations§
Source§impl Clone for MemoryConfig
impl Clone for MemoryConfig
Source§fn clone(&self) -> MemoryConfig
fn clone(&self) -> MemoryConfig
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 moreAuto Trait Implementations§
impl Freeze for MemoryConfig
impl RefUnwindSafe for MemoryConfig
impl Send for MemoryConfig
impl Sync for MemoryConfig
impl Unpin for MemoryConfig
impl UnsafeUnpin for MemoryConfig
impl UnwindSafe for MemoryConfig
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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more