pub struct AgenticMemoryContextPackingBundleOptions<T> {
pub name: Option<String>,
pub context: Node<AgenticMemoryContext<T>>,
pub texts: Node<Vec<AgenticMemoryTextProjection>>,
pub policy: Node<AgenticMemoryContextPackingPolicy>,
}Expand description
AgenticMemoryContextPackingBundleOptions data container.
Fields§
§name: Option<String>name field for name.
context: Node<AgenticMemoryContext<T>>context field for context.
texts: Node<Vec<AgenticMemoryTextProjection>>texts field for texts.
policy: Node<AgenticMemoryContextPackingPolicy>policy field for policy.
Implementations§
Source§impl<T> AgenticMemoryContextPackingBundleOptions<T>
impl<T> AgenticMemoryContextPackingBundleOptions<T>
Sourcepub fn new(
context: Node<AgenticMemoryContext<T>>,
texts: Node<Vec<AgenticMemoryTextProjection>>,
policy: Node<AgenticMemoryContextPackingPolicy>,
) -> Self
pub fn new( context: Node<AgenticMemoryContext<T>>, texts: Node<Vec<AgenticMemoryTextProjection>>, policy: Node<AgenticMemoryContextPackingPolicy>, ) -> Self
Creates or computes new.
Trait Implementations§
Source§impl<T: Clone> Clone for AgenticMemoryContextPackingBundleOptions<T>
impl<T: Clone> Clone for AgenticMemoryContextPackingBundleOptions<T>
Source§fn clone(&self) -> AgenticMemoryContextPackingBundleOptions<T>
fn clone(&self) -> AgenticMemoryContextPackingBundleOptions<T>
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<T> Freeze for AgenticMemoryContextPackingBundleOptions<T>
impl<T> !RefUnwindSafe for AgenticMemoryContextPackingBundleOptions<T>
impl<T> !Send for AgenticMemoryContextPackingBundleOptions<T>
impl<T> !Sync for AgenticMemoryContextPackingBundleOptions<T>
impl<T> Unpin for AgenticMemoryContextPackingBundleOptions<T>where
T: Unpin,
impl<T> UnsafeUnpin for AgenticMemoryContextPackingBundleOptions<T>
impl<T> !UnwindSafe for AgenticMemoryContextPackingBundleOptions<T>
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