pub struct AgentTurnStart {
pub run_id: Option<String>,
pub provider: Option<String>,
pub prompt: String,
}Fields§
§run_id: Option<String>Resume this run, or start a new one when absent. The daemon mints run ids; a caller-supplied one is only ever a reference to a run it was already told about.
provider: Option<String>Which installed provider to use. Absent means the daemon’s selection.
prompt: StringBounded by super::limits::MAX_AGENT_PROMPT_BYTES.
Trait Implementations§
Source§impl Clone for AgentTurnStart
impl Clone for AgentTurnStart
Source§fn clone(&self) -> AgentTurnStart
fn clone(&self) -> AgentTurnStart
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 AgentTurnStart
impl Debug for AgentTurnStart
Source§impl<'de> Deserialize<'de> for AgentTurnStart
impl<'de> Deserialize<'de> for AgentTurnStart
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 AgentTurnStart
Source§impl PartialEq for AgentTurnStart
impl PartialEq for AgentTurnStart
Source§impl Serialize for AgentTurnStart
impl Serialize for AgentTurnStart
impl StructuralPartialEq for AgentTurnStart
Auto Trait Implementations§
impl Freeze for AgentTurnStart
impl RefUnwindSafe for AgentTurnStart
impl Send for AgentTurnStart
impl Sync for AgentTurnStart
impl Unpin for AgentTurnStart
impl UnsafeUnpin for AgentTurnStart
impl UnwindSafe for AgentTurnStart
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.