pub struct CanonicalState {
pub session: Value,
pub agent: Value,
pub os: Value,
pub memory: MemoryNamespace,
/* private fields */
}Expand description
Canonical state model: one object with four namespaces.
Fields§
§session: Value§agent: Value§os: Value§memory: MemoryNamespaceTrait Implementations§
Source§impl Clone for CanonicalState
impl Clone for CanonicalState
Source§fn clone(&self) -> CanonicalState
fn clone(&self) -> CanonicalState
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 CanonicalState
impl Debug for CanonicalState
Source§impl Default for CanonicalState
impl Default for CanonicalState
Source§impl<'de> Deserialize<'de> for CanonicalStatewhere
CanonicalState: Default,
impl<'de> Deserialize<'de> for CanonicalStatewhere
CanonicalState: Default,
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 CanonicalState
impl PartialEq for CanonicalState
Source§impl Serialize for CanonicalState
impl Serialize for CanonicalState
impl StructuralPartialEq for CanonicalState
Auto Trait Implementations§
impl Freeze for CanonicalState
impl RefUnwindSafe for CanonicalState
impl Send for CanonicalState
impl Sync for CanonicalState
impl Unpin for CanonicalState
impl UnsafeUnpin for CanonicalState
impl UnwindSafe for CanonicalState
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