pub struct GoalEditParams {
pub session_id: String,
pub command_id: String,
pub objective: String,
}Expand description
goal/edit params: replace the current goal’s objective. Same shape as
goal/set; the verbs differ in their missing_goal precondition, not their
payload.
Fields§
§session_id: StringThe target session.
command_id: StringThe idempotency handle (UUIDv7).
objective: StringThe replacement objective; same trim/non-empty rule as goal/set.
Trait Implementations§
Source§impl Clone for GoalEditParams
impl Clone for GoalEditParams
Source§impl Debug for GoalEditParams
impl Debug for GoalEditParams
Source§impl<'de> Deserialize<'de> for GoalEditParams
impl<'de> Deserialize<'de> for GoalEditParams
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 GoalEditParams
Source§impl PartialEq for GoalEditParams
impl PartialEq for GoalEditParams
Source§impl Serialize for GoalEditParams
impl Serialize for GoalEditParams
impl StructuralPartialEq for GoalEditParams
Auto Trait Implementations§
impl Freeze for GoalEditParams
impl RefUnwindSafe for GoalEditParams
impl Send for GoalEditParams
impl Sync for GoalEditParams
impl Unpin for GoalEditParams
impl UnsafeUnpin for GoalEditParams
impl UnwindSafe for GoalEditParams
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