pub enum MCPToolApprovalSetting {
Always,
Never,
}Variants§
Trait Implementations§
Source§impl Clone for MCPToolApprovalSetting
impl Clone for MCPToolApprovalSetting
Source§fn clone(&self) -> MCPToolApprovalSetting
fn clone(&self) -> MCPToolApprovalSetting
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 MCPToolApprovalSetting
impl Debug for MCPToolApprovalSetting
Source§impl<'de> Deserialize<'de> for MCPToolApprovalSetting
impl<'de> Deserialize<'de> for MCPToolApprovalSetting
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 MCPToolApprovalSetting
impl PartialEq for MCPToolApprovalSetting
Source§impl Serialize for MCPToolApprovalSetting
impl Serialize for MCPToolApprovalSetting
impl StructuralPartialEq for MCPToolApprovalSetting
Auto Trait Implementations§
impl Freeze for MCPToolApprovalSetting
impl RefUnwindSafe for MCPToolApprovalSetting
impl Send for MCPToolApprovalSetting
impl Sync for MCPToolApprovalSetting
impl Unpin for MCPToolApprovalSetting
impl UnwindSafe for MCPToolApprovalSetting
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