pub struct RbacAuditEntry {
pub timestamp: DateTime<Utc>,
pub subject: Subject,
pub action: Action,
pub resource: String,
pub allowed: bool,
pub reason: Option<String>,
}Expand description
RBAC audit entry — records authorization decisions.
Fields§
§timestamp: DateTime<Utc>When the authorization decision was made.
subject: SubjectWho performed the action.
action: ActionWhat action was attempted.
resource: StringWhich resource was involved.
allowed: boolWhether the action was allowed.
reason: Option<String>Optional reason for the decision.
Trait Implementations§
Source§impl Clone for RbacAuditEntry
impl Clone for RbacAuditEntry
Source§fn clone(&self) -> RbacAuditEntry
fn clone(&self) -> RbacAuditEntry
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 RbacAuditEntry
impl Debug for RbacAuditEntry
Source§impl<'de> Deserialize<'de> for RbacAuditEntry
impl<'de> Deserialize<'de> for RbacAuditEntry
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 RbacAuditEntry
impl RefUnwindSafe for RbacAuditEntry
impl Send for RbacAuditEntry
impl Sync for RbacAuditEntry
impl Unpin for RbacAuditEntry
impl UnsafeUnpin for RbacAuditEntry
impl UnwindSafe for RbacAuditEntry
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