pub struct GoalSetParams {
pub session_id: String,
pub command_id: String,
pub objective: String,
}Expand description
goal/set params: set the session’s goal objective.
Fields§
§session_id: StringThe target session.
command_id: StringThe idempotency handle (UUIDv7).
objective: StringThe objective text; required, non-empty after Unicode-whitespace trim
(the trimmed text is the payload). Empty-after-trim is -32602 invalidParams.
Trait Implementations§
Source§impl Clone for GoalSetParams
impl Clone for GoalSetParams
Source§impl Debug for GoalSetParams
impl Debug for GoalSetParams
Source§impl<'de> Deserialize<'de> for GoalSetParams
impl<'de> Deserialize<'de> for GoalSetParams
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 GoalSetParams
Source§impl PartialEq for GoalSetParams
impl PartialEq for GoalSetParams
Source§impl Serialize for GoalSetParams
impl Serialize for GoalSetParams
impl StructuralPartialEq for GoalSetParams
Auto Trait Implementations§
impl Forget for GoalSetParams
impl Freeze for GoalSetParams
impl Move for GoalSetParams
impl RefUnwindSafe for GoalSetParams
impl Send for GoalSetParams
impl Sync for GoalSetParams
impl Unpin for GoalSetParams
impl UnsafeUnpin for GoalSetParams
impl UnwindSafe for GoalSetParams
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