pub struct MoqMacAuditRecord {
pub subject: Option<String>,
pub object: String,
pub action: MoqEventAction,
pub subject_clearance: Option<SecurityLabel>,
pub object_label: Option<SecurityLabel>,
pub reason: MoqMacAuditReason,
}Expand description
Plane-neutral denial record handed to the parent crate’s MAC audit adapter.
hyprstream-rpc cannot depend on hyprstream’s WAL without creating a
crate cycle. Active construction therefore requires this record sink; the
parent adapter converts it to the canonical signed AuditRecord.
Fields§
§subject: Option<String>Independently verified subject, or None for anonymous.
object: StringTrack or event prefix whose access was denied — an audit trail, never
an authorization input. Accepted typed objects audit their full
coordinate; a coordinate that failed to parse audits only its
bounded representation (see bounded_audit_coordinate), so the
durable record is bounded independently of attacker input.
action: MoqEventActionOperation that was denied.
subject_clearance: Option<SecurityLabel>Resolved subject clearance, when resolution reached that step.
object_label: Option<SecurityLabel>Resolved content label, when resolution reached that step.
reason: MoqMacAuditReasonExact denial cause.
Trait Implementations§
Source§impl Clone for MoqMacAuditRecord
impl Clone for MoqMacAuditRecord
Source§fn clone(&self) -> MoqMacAuditRecord
fn clone(&self) -> MoqMacAuditRecord
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MoqMacAuditRecord
impl Debug for MoqMacAuditRecord
Source§impl PartialEq for MoqMacAuditRecord
impl PartialEq for MoqMacAuditRecord
Source§fn eq(&self, other: &MoqMacAuditRecord) -> bool
fn eq(&self, other: &MoqMacAuditRecord) -> bool
self and other values to be equal, and is used by ==.impl Eq for MoqMacAuditRecord
impl StructuralPartialEq for MoqMacAuditRecord
Auto Trait Implementations§
impl Freeze for MoqMacAuditRecord
impl RefUnwindSafe for MoqMacAuditRecord
impl Send for MoqMacAuditRecord
impl Sync for MoqMacAuditRecord
impl Unpin for MoqMacAuditRecord
impl UnsafeUnpin for MoqMacAuditRecord
impl UnwindSafe for MoqMacAuditRecord
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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>
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>
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