pub struct ToolChoiceMcp {
pub type_: ToolChoiceMcpType,
pub server_label: String,
pub name: Option<Option<String>>,
pub rest: Rest,
}Fields§
§type_: ToolChoiceMcpType§server_label: String§name: Option<Option<String>>§rest: RestImplementations§
Source§impl ToolChoiceMcp
impl ToolChoiceMcp
Sourcepub fn builder(
type_: ToolChoiceMcpType,
server_label: String,
) -> ToolChoiceMcpBuilder
pub fn builder( type_: ToolChoiceMcpType, server_label: String, ) -> ToolChoiceMcpBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for ToolChoiceMcp
impl Clone for ToolChoiceMcp
Source§impl Debug for ToolChoiceMcp
impl Debug for ToolChoiceMcp
Source§impl DeclaredFields for ToolChoiceMcp
impl DeclaredFields for ToolChoiceMcp
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for ToolChoiceMcp
impl<'de> Deserialize<'de> for ToolChoiceMcp
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 ToolChoiceMcp
Source§impl PartialEq for ToolChoiceMcp
impl PartialEq for ToolChoiceMcp
Source§impl Serialize for ToolChoiceMcp
impl Serialize for ToolChoiceMcp
impl StructuralPartialEq for ToolChoiceMcp
Auto Trait Implementations§
impl Freeze for ToolChoiceMcp
impl RefUnwindSafe for ToolChoiceMcp
impl Send for ToolChoiceMcp
impl Sync for ToolChoiceMcp
impl Unpin for ToolChoiceMcp
impl UnsafeUnpin for ToolChoiceMcp
impl UnwindSafe for ToolChoiceMcp
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