pub struct TodoCreateInput {
pub title: String,
pub description: Option<String>,
pub priority: TodoPriority,
pub assigned_to_turn: Option<String>,
pub tags: Vec<String>,
}Expand description
Input for the todo_create tool.
session_id is intentionally absent: the owning tool resolves it from the
active session at construction time so the model never has to track it.
Fields§
§title: StringShort title.
description: Option<String>Optional longer description.
priority: TodoPriorityPlanning priority. Defaults to medium when omitted.
assigned_to_turn: Option<String>Optional turn id assignment.
Tags for filtering.
Trait Implementations§
Source§impl Clone for TodoCreateInput
impl Clone for TodoCreateInput
Source§fn clone(&self) -> TodoCreateInput
fn clone(&self) -> TodoCreateInput
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 TodoCreateInput
impl Debug for TodoCreateInput
Source§impl<'de> Deserialize<'de> for TodoCreateInput
impl<'de> Deserialize<'de> for TodoCreateInput
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
Source§impl JsonSchema for TodoCreateInput
impl JsonSchema for TodoCreateInput
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 moreAuto Trait Implementations§
impl Freeze for TodoCreateInput
impl RefUnwindSafe for TodoCreateInput
impl Send for TodoCreateInput
impl Sync for TodoCreateInput
impl Unpin for TodoCreateInput
impl UnsafeUnpin for TodoCreateInput
impl UnwindSafe for TodoCreateInput
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