pub struct OpenAiAgentOptions {
pub runtime_id: Option<RuntimeInstanceId>,
pub workspace_id: Option<WorkspaceId>,
pub conversation_id: Option<ConversationId>,
pub downstream_model: Option<String>,
pub deadline_seconds: Option<u64>,
pub max_model_turns: Option<usize>,
pub max_tool_calls: Option<usize>,
}Fields§
§runtime_id: Option<RuntimeInstanceId>§workspace_id: Option<WorkspaceId>§conversation_id: Option<ConversationId>§downstream_model: Option<String>§deadline_seconds: Option<u64>§max_model_turns: Option<usize>§max_tool_calls: Option<usize>Trait Implementations§
Source§impl Clone for OpenAiAgentOptions
impl Clone for OpenAiAgentOptions
Source§fn clone(&self) -> OpenAiAgentOptions
fn clone(&self) -> OpenAiAgentOptions
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 OpenAiAgentOptions
impl Debug for OpenAiAgentOptions
Source§impl<'de> Deserialize<'de> for OpenAiAgentOptions
impl<'de> Deserialize<'de> for OpenAiAgentOptions
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 OpenAiAgentOptions
impl PartialEq for OpenAiAgentOptions
Source§impl Serialize for OpenAiAgentOptions
impl Serialize for OpenAiAgentOptions
impl StructuralPartialEq for OpenAiAgentOptions
Auto Trait Implementations§
impl Freeze for OpenAiAgentOptions
impl RefUnwindSafe for OpenAiAgentOptions
impl Send for OpenAiAgentOptions
impl Sync for OpenAiAgentOptions
impl Unpin for OpenAiAgentOptions
impl UnsafeUnpin for OpenAiAgentOptions
impl UnwindSafe for OpenAiAgentOptions
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