pub struct AgentDraft {
pub model: Text,
pub reasoning: Option<String>,
pub voice_model: Option<Voice>,
pub persona: Option<PartialDemographic>,
pub instructions: String,
pub daily_limit: f64,
pub approve_outbound: bool,
}Expand description
The settings argument of set_agent.
Fields§
§model: Text§reasoning: Option<String>§voice_model: Option<Voice>§persona: Option<PartialDemographic>§instructions: String§daily_limit: f64§approve_outbound: boolTrait Implementations§
Source§impl Clone for AgentDraft
impl Clone for AgentDraft
Source§impl Debug for AgentDraft
impl Debug for AgentDraft
Source§impl<'de> Deserialize<'de> for AgentDraft
impl<'de> Deserialize<'de> for AgentDraft
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 AgentDraft
impl PartialEq for AgentDraft
Source§impl Serialize for AgentDraft
impl Serialize for AgentDraft
impl StructuralPartialEq for AgentDraft
Auto Trait Implementations§
impl Forget for AgentDraft
impl Freeze for AgentDraft
impl Move for AgentDraft
impl RefUnwindSafe for AgentDraft
impl Send for AgentDraft
impl Sync for AgentDraft
impl Unpin for AgentDraft
impl UnsafeUnpin for AgentDraft
impl UnwindSafe for AgentDraft
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