pub struct PinnedTool {
pub hash: String,
pub source: String,
pub pinned_at: String,
pub version: Option<String>,
}Expand description
A single pinned tool entry.
Fields§
§hash: StringSHA-256 hash of the tool configuration.
source: StringSource of the tool (e.g., “npx @anthropic/mcp-server-github”).
pinned_at: StringWhen this tool was pinned.
version: Option<String>Optional version info extracted from source.
Trait Implementations§
Source§impl Clone for PinnedTool
impl Clone for PinnedTool
Source§fn clone(&self) -> PinnedTool
fn clone(&self) -> PinnedTool
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 PinnedTool
impl Debug for PinnedTool
Source§impl<'de> Deserialize<'de> for PinnedTool
impl<'de> Deserialize<'de> for PinnedTool
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 PinnedTool
impl RefUnwindSafe for PinnedTool
impl Send for PinnedTool
impl Sync for PinnedTool
impl Unpin for PinnedTool
impl UnwindSafe for PinnedTool
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