pub struct RuntimeHints {
pub trace_id: Option<String>,
pub prompt_cache_key: Option<String>,
pub auto_compact_token_limit: Option<u32>,
pub profile: RuntimeProfile,
pub parallel_tool_calls: Option<bool>,
pub hosted_web_search: HostedWebSearchConfig,
pub tool_search: ToolSearchConfig,
pub speed_policy: Option<SpeedPolicyDecision>,
pub deadline_remaining_seconds: Option<u64>,
pub reliability: Option<ReliabilityRequestPolicy>,
}Fields§
§trace_id: Option<String>§prompt_cache_key: Option<String>§auto_compact_token_limit: Option<u32>§profile: RuntimeProfile§parallel_tool_calls: Option<bool>§hosted_web_search: HostedWebSearchConfig§tool_search: ToolSearchConfig§speed_policy: Option<SpeedPolicyDecision>§deadline_remaining_seconds: Option<u64>§reliability: Option<ReliabilityRequestPolicy>Trait Implementations§
Source§impl Clone for RuntimeHints
impl Clone for RuntimeHints
Source§fn clone(&self) -> RuntimeHints
fn clone(&self) -> RuntimeHints
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 RuntimeHints
impl Debug for RuntimeHints
Source§impl Default for RuntimeHints
impl Default for RuntimeHints
Source§fn default() -> RuntimeHints
fn default() -> RuntimeHints
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RuntimeHints
impl<'de> Deserialize<'de> for RuntimeHints
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 RuntimeHints
Source§impl PartialEq for RuntimeHints
impl PartialEq for RuntimeHints
Source§fn eq(&self, other: &RuntimeHints) -> bool
fn eq(&self, other: &RuntimeHints) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RuntimeHints
impl Serialize for RuntimeHints
impl StructuralPartialEq for RuntimeHints
Auto Trait Implementations§
impl Freeze for RuntimeHints
impl RefUnwindSafe for RuntimeHints
impl Send for RuntimeHints
impl Sync for RuntimeHints
impl Unpin for RuntimeHints
impl UnsafeUnpin for RuntimeHints
impl UnwindSafe for RuntimeHints
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.