pub struct AgenticMemoryContextPackingPolicy {
pub max_chars: Option<usize>,
pub separator: String,
pub include_fragment_ids: bool,
}Expand description
AgenticMemoryContextPackingPolicy data container.
Fields§
§max_chars: Option<usize>max_chars field for max chars.
separator: Stringseparator field for separator.
include_fragment_ids: boolinclude_fragment_ids field for include fragment ids.
Trait Implementations§
Source§impl Clone for AgenticMemoryContextPackingPolicy
impl Clone for AgenticMemoryContextPackingPolicy
Source§fn clone(&self) -> AgenticMemoryContextPackingPolicy
fn clone(&self) -> AgenticMemoryContextPackingPolicy
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 PartialEq for AgenticMemoryContextPackingPolicy
impl PartialEq for AgenticMemoryContextPackingPolicy
Source§fn eq(&self, other: &AgenticMemoryContextPackingPolicy) -> bool
fn eq(&self, other: &AgenticMemoryContextPackingPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for AgenticMemoryContextPackingPolicy
impl StructuralPartialEq for AgenticMemoryContextPackingPolicy
Auto Trait Implementations§
impl Freeze for AgenticMemoryContextPackingPolicy
impl RefUnwindSafe for AgenticMemoryContextPackingPolicy
impl Send for AgenticMemoryContextPackingPolicy
impl Sync for AgenticMemoryContextPackingPolicy
impl Unpin for AgenticMemoryContextPackingPolicy
impl UnsafeUnpin for AgenticMemoryContextPackingPolicy
impl UnwindSafe for AgenticMemoryContextPackingPolicy
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.