pub struct SandboxVerificationReport {
pub plugin_id: String,
pub plugin_version: String,
pub verification_timestamp: String,
pub is_sandboxed: bool,
pub checks: Vec<SandboxCheckResult>,
pub requested_permissions: Vec<Permission>,
pub resource_limits: ResourceLimits,
pub capabilities: Vec<PluginCapability>,
pub high_risk_count: usize,
pub total_risk_score: u32,
}Expand description
Complete sandbox verification report
Fields§
§plugin_id: String§plugin_version: String§verification_timestamp: String§is_sandboxed: bool§checks: Vec<SandboxCheckResult>§requested_permissions: Vec<Permission>§resource_limits: ResourceLimits§capabilities: Vec<PluginCapability>§high_risk_count: usize§total_risk_score: u32Implementations§
Source§impl SandboxVerificationReport
impl SandboxVerificationReport
pub fn is_compliant(&self) -> bool
pub fn risk_assessment(&self) -> SandboxRiskLevel
pub fn summary(&self) -> String
Trait Implementations§
Source§impl Clone for SandboxVerificationReport
impl Clone for SandboxVerificationReport
Source§fn clone(&self) -> SandboxVerificationReport
fn clone(&self) -> SandboxVerificationReport
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 SandboxVerificationReport
impl Debug for SandboxVerificationReport
Source§impl<'de> Deserialize<'de> for SandboxVerificationReport
impl<'de> Deserialize<'de> for SandboxVerificationReport
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 SandboxVerificationReport
impl RefUnwindSafe for SandboxVerificationReport
impl Send for SandboxVerificationReport
impl Sync for SandboxVerificationReport
impl Unpin for SandboxVerificationReport
impl UnsafeUnpin for SandboxVerificationReport
impl UnwindSafe for SandboxVerificationReport
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