pub struct McpTrustReportV1 {
pub tool_name: String,
pub side_effect_class: String,
pub requires_permit: bool,
pub is_dangerous: bool,
pub risk_label: String,
pub recommendation: String,
}Fields§
§tool_name: String§side_effect_class: String§requires_permit: bool§is_dangerous: bool§risk_label: String§recommendation: StringTrait Implementations§
Source§impl Clone for McpTrustReportV1
impl Clone for McpTrustReportV1
Source§fn clone(&self) -> McpTrustReportV1
fn clone(&self) -> McpTrustReportV1
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 McpTrustReportV1
impl Debug for McpTrustReportV1
Source§impl<'de> Deserialize<'de> for McpTrustReportV1
impl<'de> Deserialize<'de> for McpTrustReportV1
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 McpTrustReportV1
Source§impl PartialEq for McpTrustReportV1
impl PartialEq for McpTrustReportV1
Source§fn eq(&self, other: &McpTrustReportV1) -> bool
fn eq(&self, other: &McpTrustReportV1) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for McpTrustReportV1
impl Serialize for McpTrustReportV1
impl StructuralPartialEq for McpTrustReportV1
Auto Trait Implementations§
impl Freeze for McpTrustReportV1
impl RefUnwindSafe for McpTrustReportV1
impl Send for McpTrustReportV1
impl Sync for McpTrustReportV1
impl Unpin for McpTrustReportV1
impl UnsafeUnpin for McpTrustReportV1
impl UnwindSafe for McpTrustReportV1
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