pub struct RunSpec {
pub assignment: String,
pub reasoning_effort: Option<String>,
pub messages: Vec<Value>,
}Expand description
A unit of work a parent assigns to an actor.
Fields§
§assignment: String§reasoning_effort: Option<String>§messages: Vec<Value>Full prior conversation (serialized domain Messages, oldest first),
INCLUDING the assignment’s user message when present. The actor’s
durable state lives in the parent’s store; each activation rehydrates
from here — this is what makes send_message/update/rerun carry context
across one-shot actor processes. Empty = first activation, no history.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RunSpec
impl<'de> Deserialize<'de> for RunSpec
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
impl StructuralPartialEq for RunSpec
Auto Trait Implementations§
impl Freeze for RunSpec
impl RefUnwindSafe for RunSpec
impl Send for RunSpec
impl Sync for RunSpec
impl Unpin for RunSpec
impl UnsafeUnpin for RunSpec
impl UnwindSafe for RunSpec
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