pub struct StaticMemoryTransform {
pub value: Box<MemoryConfig>,
pub type: Type,
}Expand description
StaticMemoryTransform : Static memory configuration passed directly to the AI agent
Fields§
§value: Box<MemoryConfig>§type: TypeImplementations§
Source§impl StaticMemoryTransform
impl StaticMemoryTransform
Sourcepub fn new(value: MemoryConfig, type: Type) -> StaticMemoryTransform
pub fn new(value: MemoryConfig, type: Type) -> StaticMemoryTransform
Static memory configuration passed directly to the AI agent
Trait Implementations§
Source§impl Clone for StaticMemoryTransform
impl Clone for StaticMemoryTransform
Source§fn clone(&self) -> StaticMemoryTransform
fn clone(&self) -> StaticMemoryTransform
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 StaticMemoryTransform
impl Debug for StaticMemoryTransform
Source§impl Default for StaticMemoryTransform
impl Default for StaticMemoryTransform
Source§fn default() -> StaticMemoryTransform
fn default() -> StaticMemoryTransform
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StaticMemoryTransform
impl<'de> Deserialize<'de> for StaticMemoryTransform
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 PartialEq for StaticMemoryTransform
impl PartialEq for StaticMemoryTransform
Source§impl Serialize for StaticMemoryTransform
impl Serialize for StaticMemoryTransform
impl StructuralPartialEq for StaticMemoryTransform
Auto Trait Implementations§
impl Freeze for StaticMemoryTransform
impl RefUnwindSafe for StaticMemoryTransform
impl Send for StaticMemoryTransform
impl Sync for StaticMemoryTransform
impl Unpin for StaticMemoryTransform
impl UnwindSafe for StaticMemoryTransform
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