pub struct MemoryContext {
pub id: String,
pub role: ContextRole,
pub path: String,
pub label: Option<String>,
pub graph: MemoryGraph,
}Expand description
A loaded memory context within a workspace.
Fields§
§id: String§role: ContextRole§path: String§label: Option<String>§graph: MemoryGraphAuto Trait Implementations§
impl Freeze for MemoryContext
impl RefUnwindSafe for MemoryContext
impl Send for MemoryContext
impl Sync for MemoryContext
impl Unpin for MemoryContext
impl UnsafeUnpin for MemoryContext
impl UnwindSafe for MemoryContext
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