pub struct SavedAgent {
pub id: String,
pub parent: Option<String>,
pub started_ms: u64,
pub conversation: Conversation,
pub saved: BTreeMap<String, Value>,
pub retired: bool,
pub rewrites: Vec<LogRewrite>,
}Expand description
An agent as its log left it.
Fields§
§id: StringIts id, the name of its log.
parent: Option<String>The id of the agent that spawned it, if any.
started_ms: u64When its log was started, in milliseconds since the Unix epoch.
conversation: ConversationIts conversation, continuing its log: its lineage the log’s, its revision the number of changes the log holds.
saved: BTreeMap<String, Value>The newest value of each of its saved values, by key.
retired: boolWhether it is gone for good: a restore skips it, and the agents it spawned.
rewrites: Vec<LogRewrite>Who rewrote its log in place, and when, oldest first.
Implementations§
Source§impl SavedAgent
impl SavedAgent
Trait Implementations§
Source§impl Clone for SavedAgent
impl Clone for SavedAgent
Source§impl Debug for SavedAgent
impl Debug for SavedAgent
Source§impl Default for SavedAgent
impl Default for SavedAgent
Source§impl PartialEq for SavedAgent
impl PartialEq for SavedAgent
impl StructuralPartialEq for SavedAgent
Auto Trait Implementations§
impl Freeze for SavedAgent
impl RefUnwindSafe for SavedAgent
impl Send for SavedAgent
impl Sync for SavedAgent
impl Unpin for SavedAgent
impl UnsafeUnpin for SavedAgent
impl UnwindSafe for SavedAgent
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