pub struct SecurityDecision {
pub decision_id: String,
pub subject: Subject,
pub action: Action,
pub allowed: bool,
pub reason: String,
pub timestamp: DateTime<Utc>,
pub mechanisms: Vec<SecurityMechanism>,
}Expand description
Represents a security decision made by the control plane.
Fields§
§decision_id: StringUnique identifier for this decision.
subject: SubjectThe agent or process this decision applies to.
action: ActionAction being attempted.
allowed: boolWhether the action was allowed or denied.
reason: StringReason for the decision.
timestamp: DateTime<Utc>Timestamp of the decision.
mechanisms: Vec<SecurityMechanism>Applied security mechanisms.
Trait Implementations§
Source§impl Clone for SecurityDecision
impl Clone for SecurityDecision
Source§fn clone(&self) -> SecurityDecision
fn clone(&self) -> SecurityDecision
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 SecurityDecision
impl Debug for SecurityDecision
Source§impl<'de> Deserialize<'de> for SecurityDecision
impl<'de> Deserialize<'de> for SecurityDecision
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 SecurityDecision
impl RefUnwindSafe for SecurityDecision
impl Send for SecurityDecision
impl Sync for SecurityDecision
impl Unpin for SecurityDecision
impl UnsafeUnpin for SecurityDecision
impl UnwindSafe for SecurityDecision
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