pub struct AgentStateSnapshot {
pub agent_id: AgentId,
pub profile: Option<AgentProfile>,
pub goals: Vec<GoalRecord>,
pub tasks: Vec<TaskRecord>,
pub observations: Vec<ObservationRecord>,
pub artifacts: Vec<ArtifactRecord>,
pub resources: Vec<ResourceRef>,
pub relationships: Vec<RelationshipEdge>,
pub pending_wake: Option<WakeRequestRecord>,
}Fields§
§agent_id: AgentId§profile: Option<AgentProfile>§goals: Vec<GoalRecord>§tasks: Vec<TaskRecord>§observations: Vec<ObservationRecord>§artifacts: Vec<ArtifactRecord>§resources: Vec<ResourceRef>§relationships: Vec<RelationshipEdge>§pending_wake: Option<WakeRequestRecord>Trait Implementations§
Source§impl Clone for AgentStateSnapshot
impl Clone for AgentStateSnapshot
Source§fn clone(&self) -> AgentStateSnapshot
fn clone(&self) -> AgentStateSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AgentStateSnapshot
impl Debug for AgentStateSnapshot
Source§impl<'de> Deserialize<'de> for AgentStateSnapshot
impl<'de> Deserialize<'de> for AgentStateSnapshot
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AgentStateSnapshot, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AgentStateSnapshot, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AgentStateSnapshot
impl PartialEq for AgentStateSnapshot
Source§fn eq(&self, other: &AgentStateSnapshot) -> bool
fn eq(&self, other: &AgentStateSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AgentStateSnapshot
impl Serialize for AgentStateSnapshot
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for AgentStateSnapshot
Auto Trait Implementations§
impl Freeze for AgentStateSnapshot
impl RefUnwindSafe for AgentStateSnapshot
impl Send for AgentStateSnapshot
impl Sync for AgentStateSnapshot
impl Unpin for AgentStateSnapshot
impl UnsafeUnpin for AgentStateSnapshot
impl UnwindSafe for AgentStateSnapshot
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