pub struct AgentWorkingSetEntry {
pub working_set_id: WorkingSetId,
pub tenant_id: TenantId,
pub agent_id: AgentId,
pub owner_principal_id: PrincipalId,
pub scope_id: Option<ScopeId>,
pub key: String,
pub value: Value,
pub expires_at: Option<Timestamp>,
pub updated_at: Timestamp,
pub version: i64,
pub metadata: Option<Value>,
}Expand description
Ephemeral document/KV working memory entry for an agent.
Fields§
§working_set_id: WorkingSetId§tenant_id: TenantId§agent_id: AgentId§owner_principal_id: PrincipalId§scope_id: Option<ScopeId>§key: String§value: Value§expires_at: Option<Timestamp>§updated_at: Timestamp§version: i64§metadata: Option<Value>Trait Implementations§
Source§impl Clone for AgentWorkingSetEntry
impl Clone for AgentWorkingSetEntry
Source§fn clone(&self) -> AgentWorkingSetEntry
fn clone(&self) -> AgentWorkingSetEntry
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 ComposeSchema for AgentWorkingSetEntry
impl ComposeSchema for AgentWorkingSetEntry
Source§impl Debug for AgentWorkingSetEntry
impl Debug for AgentWorkingSetEntry
Source§impl<'de> Deserialize<'de> for AgentWorkingSetEntry
impl<'de> Deserialize<'de> for AgentWorkingSetEntry
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 AgentWorkingSetEntry
impl PartialEq for AgentWorkingSetEntry
Source§impl Serialize for AgentWorkingSetEntry
impl Serialize for AgentWorkingSetEntry
Source§impl ToSchema for AgentWorkingSetEntry
impl ToSchema for AgentWorkingSetEntry
impl StructuralPartialEq for AgentWorkingSetEntry
Auto Trait Implementations§
impl Freeze for AgentWorkingSetEntry
impl RefUnwindSafe for AgentWorkingSetEntry
impl Send for AgentWorkingSetEntry
impl Sync for AgentWorkingSetEntry
impl Unpin for AgentWorkingSetEntry
impl UnwindSafe for AgentWorkingSetEntry
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