pub struct GoalUpdateParams {
pub items: Vec<GoalItem>,
}Expand description
goal_update replaces the current root goal’s checklist at actor execution,
even if the goal changed since the calling run started. It is never a lifecycle
command. The engine rejects absent/terminal goals and blank descriptions.
Replacements are serialized; the last accepted update wins. Duplicate descriptions
are allowed. Empty items preserve active/paused status. A nonempty
all-finished update completes even while paused, without scheduling a wake.
Fields§
§items: Vec<GoalItem>Trait Implementations§
Source§impl Clone for GoalUpdateParams
impl Clone for GoalUpdateParams
Source§fn clone(&self) -> GoalUpdateParams
fn clone(&self) -> GoalUpdateParams
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 GoalUpdateParams
impl Debug for GoalUpdateParams
Source§impl<'de> Deserialize<'de> for GoalUpdateParams
impl<'de> Deserialize<'de> for GoalUpdateParams
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 Eq for GoalUpdateParams
Source§impl JsonSchema for GoalUpdateParams
impl JsonSchema for GoalUpdateParams
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for GoalUpdateParams
impl PartialEq for GoalUpdateParams
Source§fn eq(&self, other: &GoalUpdateParams) -> bool
fn eq(&self, other: &GoalUpdateParams) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GoalUpdateParams
impl Serialize for GoalUpdateParams
impl StructuralPartialEq for GoalUpdateParams
Auto Trait Implementations§
impl Freeze for GoalUpdateParams
impl RefUnwindSafe for GoalUpdateParams
impl Send for GoalUpdateParams
impl Sync for GoalUpdateParams
impl Unpin for GoalUpdateParams
impl UnsafeUnpin for GoalUpdateParams
impl UnwindSafe for GoalUpdateParams
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