pub struct SecurityViolation {
pub violation_type: SecurityViolationType,
pub description: String,
pub severity: SecuritySeverity,
pub timestamp: u64,
pub context: HashMap<String, Value>,
}Expand description
Security violation detected during execution
Fields§
§violation_type: SecurityViolationType§description: String§severity: SecuritySeverity§timestamp: u64§context: HashMap<String, Value>Trait Implementations§
Source§impl Clone for SecurityViolation
impl Clone for SecurityViolation
Source§fn clone(&self) -> SecurityViolation
fn clone(&self) -> SecurityViolation
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 SecurityViolation
impl Debug for SecurityViolation
Source§impl<'de> Deserialize<'de> for SecurityViolation
impl<'de> Deserialize<'de> for SecurityViolation
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 SecurityViolation
impl RefUnwindSafe for SecurityViolation
impl Send for SecurityViolation
impl Sync for SecurityViolation
impl Unpin for SecurityViolation
impl UnwindSafe for SecurityViolation
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