pub enum RealtimeToolsConfig {
RealtimeFunctionTool {
description: Option<String>,
name: Option<String>,
parameters: Option<Value>,
},
McpTool {
server_label: String,
allowed_tools: Option<McpAllowedTools>,
authorization: Option<Redacted>,
connector_id: Option<ConnectorId>,
headers: Option<HashMap<String, Redacted>>,
require_approval: Option<McpToolApproval>,
server_description: Option<String>,
server_url: Option<String>,
},
}Variants§
Trait Implementations§
Source§impl Clone for RealtimeToolsConfig
impl Clone for RealtimeToolsConfig
Source§fn clone(&self) -> RealtimeToolsConfig
fn clone(&self) -> RealtimeToolsConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 RealtimeToolsConfig
impl Debug for RealtimeToolsConfig
Source§impl<'de> Deserialize<'de> for RealtimeToolsConfig
impl<'de> Deserialize<'de> for RealtimeToolsConfig
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
Auto Trait Implementations§
impl Freeze for RealtimeToolsConfig
impl RefUnwindSafe for RealtimeToolsConfig
impl Send for RealtimeToolsConfig
impl Sync for RealtimeToolsConfig
impl Unpin for RealtimeToolsConfig
impl UnsafeUnpin for RealtimeToolsConfig
impl UnwindSafe for RealtimeToolsConfig
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