pub struct ToolConsentRow {
pub id: String,
pub kind: String,
pub transport: String,
pub title: String,
pub description: Option<String>,
pub target: String,
pub env: Vec<String>,
}Expand description
One row of the consent card.
Fields§
§id: String§kind: Stringmcp | script.
transport: Stringhttp | stdio | script.
title: String§description: Option<String>§target: StringThe url, or the command line exactly as it runs.
env: Vec<String>Trait Implementations§
Source§impl Clone for ToolConsentRow
impl Clone for ToolConsentRow
Source§impl Debug for ToolConsentRow
impl Debug for ToolConsentRow
Source§impl<'de> Deserialize<'de> for ToolConsentRow
impl<'de> Deserialize<'de> for ToolConsentRow
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 ToolConsentRow
Source§impl PartialEq for ToolConsentRow
impl PartialEq for ToolConsentRow
Source§impl Serialize for ToolConsentRow
impl Serialize for ToolConsentRow
impl StructuralPartialEq for ToolConsentRow
Auto Trait Implementations§
impl Freeze for ToolConsentRow
impl RefUnwindSafe for ToolConsentRow
impl Send for ToolConsentRow
impl Sync for ToolConsentRow
impl Unpin for ToolConsentRow
impl UnsafeUnpin for ToolConsentRow
impl UnwindSafe for ToolConsentRow
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.