pub struct McpEnvEntry {
pub key: String,
pub value: String,
}Expand description
Environment variable entry for MCP servers.
Note: Values are stored as base64-encoded strings in the database. This is encoding, NOT encryption. A follow-up task should add proper at-rest protection (e.g., OS keychain integration).
Fields§
§key: StringEnvironment variable key
value: StringEnvironment variable value (stored encoded, not encrypted)
Implementations§
Trait Implementations§
Source§impl Clone for McpEnvEntry
impl Clone for McpEnvEntry
Source§fn clone(&self) -> McpEnvEntry
fn clone(&self) -> McpEnvEntry
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 McpEnvEntry
impl Debug for McpEnvEntry
Source§impl<'de> Deserialize<'de> for McpEnvEntry
impl<'de> Deserialize<'de> for McpEnvEntry
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 McpEnvEntry
impl PartialEq for McpEnvEntry
Source§impl Serialize for McpEnvEntry
impl Serialize for McpEnvEntry
impl Eq for McpEnvEntry
impl StructuralPartialEq for McpEnvEntry
Auto Trait Implementations§
impl Freeze for McpEnvEntry
impl RefUnwindSafe for McpEnvEntry
impl Send for McpEnvEntry
impl Sync for McpEnvEntry
impl Unpin for McpEnvEntry
impl UnwindSafe for McpEnvEntry
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