pub struct McpScanResult {
pub server_id: Option<String>,
pub risk: Option<String>,
pub state: Option<String>,
pub tool_count: Option<i32>,
pub findings: Option<Vec<String>>,
pub recommended_action: Option<String>,
pub quarantine_record_id: Option<String>,
pub requires_approval: Option<bool>,
pub schema_pin_required: Option<bool>,
pub authorization_needed: Option<bool>,
pub scanned_at: Option<String>,
}Fields§
§server_id: Option<String>§risk: Option<String>§state: Option<String>§tool_count: Option<i32>§findings: Option<Vec<String>>§recommended_action: Option<String>§quarantine_record_id: Option<String>§requires_approval: Option<bool>§schema_pin_required: Option<bool>§scanned_at: Option<String>Implementations§
Source§impl McpScanResult
impl McpScanResult
pub fn new() -> McpScanResult
Trait Implementations§
Source§impl Clone for McpScanResult
impl Clone for McpScanResult
Source§fn clone(&self) -> McpScanResult
fn clone(&self) -> McpScanResult
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 McpScanResult
impl Debug for McpScanResult
Source§impl Default for McpScanResult
impl Default for McpScanResult
Source§fn default() -> McpScanResult
fn default() -> McpScanResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for McpScanResult
impl<'de> Deserialize<'de> for McpScanResult
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 McpScanResult
impl PartialEq for McpScanResult
Source§fn eq(&self, other: &McpScanResult) -> bool
fn eq(&self, other: &McpScanResult) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for McpScanResult
impl Serialize for McpScanResult
impl StructuralPartialEq for McpScanResult
Auto Trait Implementations§
impl Freeze for McpScanResult
impl RefUnwindSafe for McpScanResult
impl Send for McpScanResult
impl Sync for McpScanResult
impl Unpin for McpScanResult
impl UnsafeUnpin for McpScanResult
impl UnwindSafe for McpScanResult
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