pub struct RealtimeToolsConfigUnionMcpBuilder(/* private fields */);Expand description
Builder for RealtimeToolsConfigUnionMcp.
Implementations§
Source§impl RealtimeToolsConfigUnionMcpBuilder
impl RealtimeToolsConfigUnionMcpBuilder
pub fn allowed_callers( self, value: impl Into<Option<Vec<RealtimeToolsConfigUnionMcpAllowedCallersItem>>>, ) -> Self
pub fn allowed_tools( self, value: impl Into<Option<RealtimeToolsConfigUnionMcpAllowedTools>>, ) -> Self
pub fn connector_id( self, value: impl Into<Option<RealtimeToolsConfigUnionMcpConnectorId>>, ) -> Self
pub fn defer_loading(self, value: impl Into<Option<bool>>) -> Self
pub fn headers(self, value: impl Into<Option<BTreeMap<String, String>>>) -> Self
pub fn require_approval( self, value: impl Into<Option<RealtimeToolsConfigUnionMcpRequireApproval>>, ) -> Self
pub fn server_description(self, value: impl Into<Option<String>>) -> Self
pub fn server_url(self, value: impl Into<Option<String>>) -> Self
pub fn tunnel_id(self, value: impl Into<Option<String>>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> RealtimeToolsConfigUnionMcp
pub fn build(self) -> RealtimeToolsConfigUnionMcp
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for RealtimeToolsConfigUnionMcpBuilder
impl RefUnwindSafe for RealtimeToolsConfigUnionMcpBuilder
impl Send for RealtimeToolsConfigUnionMcpBuilder
impl Sync for RealtimeToolsConfigUnionMcpBuilder
impl Unpin for RealtimeToolsConfigUnionMcpBuilder
impl UnsafeUnpin for RealtimeToolsConfigUnionMcpBuilder
impl UnwindSafe for RealtimeToolsConfigUnionMcpBuilder
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