#[non_exhaustive]pub struct LiveResponsesConfig {
pub model: String,
pub instructions: Option<Option<String>>,
pub max_output_tokens: Option<Option<u64>>,
pub parallel_tool_calls: Option<Option<bool>>,
pub reasoning: Option<Option<ReasoningConfig>>,
pub service_tier: Option<Option<String>>,
pub text: Option<Option<Value>>,
pub tools: Option<Vec<Tool>>,
pub tool_choice: Option<Value>,
pub rest: Rest,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.model: String§instructions: Option<Option<String>>§max_output_tokens: Option<Option<u64>>§parallel_tool_calls: Option<Option<bool>>§reasoning: Option<Option<ReasoningConfig>>§service_tier: Option<Option<String>>§text: Option<Option<Value>>§tools: Option<Vec<Tool>>§tool_choice: Option<Value>§rest: RestImplementations§
Source§impl LiveResponsesConfig
impl LiveResponsesConfig
Sourcepub fn builder(model: String) -> LiveResponsesConfigBuilder
pub fn builder(model: String) -> LiveResponsesConfigBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for LiveResponsesConfig
impl Clone for LiveResponsesConfig
Source§impl Debug for LiveResponsesConfig
impl Debug for LiveResponsesConfig
Source§impl DeclaredFields for LiveResponsesConfig
impl DeclaredFields for LiveResponsesConfig
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for LiveResponsesConfig
impl<'de> Deserialize<'de> for LiveResponsesConfig
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 LiveResponsesConfig
impl PartialEq for LiveResponsesConfig
Source§impl Serialize for LiveResponsesConfig
impl Serialize for LiveResponsesConfig
impl StructuralPartialEq for LiveResponsesConfig
Auto Trait Implementations§
impl Freeze for LiveResponsesConfig
impl RefUnwindSafe for LiveResponsesConfig
impl Send for LiveResponsesConfig
impl Sync for LiveResponsesConfig
impl Unpin for LiveResponsesConfig
impl UnsafeUnpin for LiveResponsesConfig
impl UnwindSafe for LiveResponsesConfig
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