pub struct ProcessResult {
pub allowed: bool,
pub message_scan: MessageScanResult,
pub permission_check: PermissionLevel,
pub delegation_check: Option<DelegationCheck>,
pub violations: Vec<String>,
pub findings: Vec<SecurityFinding>,
}Expand description
Full result of processing an inter-agent message through the pipeline.
Fields§
§allowed: boolWhether the message was allowed through.
message_scan: MessageScanResultScan result for the message content.
permission_check: PermissionLevelCommunication permission for this source/target pair.
delegation_check: Option<DelegationCheck>Delegation check result (present when message_type is Delegation).
violations: Vec<String>All violations found during processing.
findings: Vec<SecurityFinding>Security findings generated from the processing.
Trait Implementations§
Source§impl Clone for ProcessResult
impl Clone for ProcessResult
Source§fn clone(&self) -> ProcessResult
fn clone(&self) -> ProcessResult
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 moreAuto Trait Implementations§
impl Freeze for ProcessResult
impl RefUnwindSafe for ProcessResult
impl Send for ProcessResult
impl Sync for ProcessResult
impl Unpin for ProcessResult
impl UnsafeUnpin for ProcessResult
impl UnwindSafe for ProcessResult
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