pub struct SubtaskPartInput {
pub prompt: String,
pub description: String,
pub agent: String,
pub id: Option<String>,
pub model: Option<SessionChatModel>,
pub command: Option<String>,
}Expand description
A subtask input part for the chat endpoint.
Fields§
§prompt: StringThe prompt text.
description: StringDescription of the subtask.
agent: StringAgent to handle the subtask.
id: Option<String>Optional part identifier.
model: Option<SessionChatModel>Optional model selection.
command: Option<String>Optional command.
Trait Implementations§
Source§impl Clone for SubtaskPartInput
impl Clone for SubtaskPartInput
Source§fn clone(&self) -> SubtaskPartInput
fn clone(&self) -> SubtaskPartInput
Returns a duplicate of the value. Read more
1.0.0 · 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 SubtaskPartInput
impl Debug for SubtaskPartInput
Source§impl<'de> Deserialize<'de> for SubtaskPartInput
impl<'de> Deserialize<'de> for SubtaskPartInput
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 PartialEq for SubtaskPartInput
impl PartialEq for SubtaskPartInput
Source§impl Serialize for SubtaskPartInput
impl Serialize for SubtaskPartInput
impl Eq for SubtaskPartInput
impl StructuralPartialEq for SubtaskPartInput
Auto Trait Implementations§
impl Freeze for SubtaskPartInput
impl RefUnwindSafe for SubtaskPartInput
impl Send for SubtaskPartInput
impl Sync for SubtaskPartInput
impl Unpin for SubtaskPartInput
impl UnwindSafe for SubtaskPartInput
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compares
self with key and returns true if they are equal.