pub struct ProtectionCheckResult {
pub tampering_detected: bool,
pub details: Vec<String>,
}Expand description
Result of checking and self-healing agent-phase protections.
When ensure_agent_phase_protections detects and repairs tampering,
this struct records what was found so the caller can take action
(e.g., log a stronger warning or flag the agent run as compromised).
Fields§
§tampering_detected: boolWhether any tampering was detected and self-healed.
details: Vec<String>Human-readable descriptions of each self-healing action taken.
Trait Implementations§
Source§impl Clone for ProtectionCheckResult
impl Clone for ProtectionCheckResult
Source§fn clone(&self) -> ProtectionCheckResult
fn clone(&self) -> ProtectionCheckResult
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 ProtectionCheckResult
impl Debug for ProtectionCheckResult
Source§impl Default for ProtectionCheckResult
impl Default for ProtectionCheckResult
Source§fn default() -> ProtectionCheckResult
fn default() -> ProtectionCheckResult
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProtectionCheckResult
impl RefUnwindSafe for ProtectionCheckResult
impl Send for ProtectionCheckResult
impl Sync for ProtectionCheckResult
impl Unpin for ProtectionCheckResult
impl UnsafeUnpin for ProtectionCheckResult
impl UnwindSafe for ProtectionCheckResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more