pub struct TrustEntry {
pub server_name: String,
pub level: TrustLevel,
pub checksum: Option<String>,
pub set_by: String,
pub updated_at: String,
}Expand description
Trust entry for a specific MCP server.
Fields§
§server_name: StringName of the MCP server.
level: TrustLevelTrust level assigned.
checksum: Option<String>Optional SHA-256 checksum for verified servers.
set_by: StringWho set this trust level.
updated_at: StringWhen this trust entry was last modified.
Trait Implementations§
Source§impl Clone for TrustEntry
impl Clone for TrustEntry
Source§fn clone(&self) -> TrustEntry
fn clone(&self) -> TrustEntry
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 TrustEntry
impl Debug for TrustEntry
Source§impl<'de> Deserialize<'de> for TrustEntry
impl<'de> Deserialize<'de> for TrustEntry
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 TrustEntry
impl RefUnwindSafe for TrustEntry
impl Send for TrustEntry
impl Sync for TrustEntry
impl Unpin for TrustEntry
impl UnsafeUnpin for TrustEntry
impl UnwindSafe for TrustEntry
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