pub struct ManagedMcpEntry {
pub config_path: String,
pub baseline_hash: String,
}Expand description
Baseline for one Tuff-managed mcpServers.<id> entry (RFC-102 stage b).
MCP config files are shared ground that users hand-edit, so the entry
gets the managed-hook treatment: a content hash recorded at registration
time, compared on every check/list, never whole-file ownership. The
entry’s key is the capability id, so only the file path and hash are
stored.
Fields§
§config_path: String§baseline_hash: StringTrait Implementations§
Source§impl Clone for ManagedMcpEntry
impl Clone for ManagedMcpEntry
Source§impl Debug for ManagedMcpEntry
impl Debug for ManagedMcpEntry
Source§impl<'de> Deserialize<'de> for ManagedMcpEntry
impl<'de> Deserialize<'de> for ManagedMcpEntry
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 ManagedMcpEntry
impl RefUnwindSafe for ManagedMcpEntry
impl Send for ManagedMcpEntry
impl Sync for ManagedMcpEntry
impl Unpin for ManagedMcpEntry
impl UnsafeUnpin for ManagedMcpEntry
impl UnwindSafe for ManagedMcpEntry
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