pub struct EngineStatePersisted {
pub agent_id: Uuid,
pub snapshot: Value,
}Expand description
Payload for ENGINE_STATE_PERSISTED events.
Contains a full BDI engine snapshot for fast reconstruction.
Fields§
§agent_id: Uuid§snapshot: ValueFull snapshot of beliefs, goals, and plans.
Trait Implementations§
Source§impl Clone for EngineStatePersisted
impl Clone for EngineStatePersisted
Source§fn clone(&self) -> EngineStatePersisted
fn clone(&self) -> EngineStatePersisted
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 EngineStatePersisted
impl Debug for EngineStatePersisted
Source§impl<'de> Deserialize<'de> for EngineStatePersisted
impl<'de> Deserialize<'de> for EngineStatePersisted
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 EventPayload for EngineStatePersisted
impl EventPayload for EngineStatePersisted
Auto Trait Implementations§
impl Freeze for EngineStatePersisted
impl RefUnwindSafe for EngineStatePersisted
impl Send for EngineStatePersisted
impl Sync for EngineStatePersisted
impl Unpin for EngineStatePersisted
impl UnwindSafe for EngineStatePersisted
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