pub struct AuditContext {
pub tenant_id: String,
pub subject_id: String,
pub stream_id: String,
pub epoch: u64,
pub sequence: u64,
}Expand description
Clear routing fields authenticated by both record signature and payload AEAD.
Fields§
§tenant_id: StringTenant isolation boundary.
subject_id: StringUser or service that owns the event.
stream_id: StringStable session or stream identifier.
epoch: u64Access epoch, incremented when either role membership shrinks.
sequence: u64Monotonic event number inside the stream.
Trait Implementations§
Source§impl Clone for AuditContext
impl Clone for AuditContext
Source§fn clone(&self) -> AuditContext
fn clone(&self) -> AuditContext
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 AuditContext
impl Debug for AuditContext
impl Eq for AuditContext
Source§impl PartialEq for AuditContext
impl PartialEq for AuditContext
impl StructuralPartialEq for AuditContext
Auto Trait Implementations§
impl Freeze for AuditContext
impl RefUnwindSafe for AuditContext
impl Send for AuditContext
impl Sync for AuditContext
impl Unpin for AuditContext
impl UnsafeUnpin for AuditContext
impl UnwindSafe for AuditContext
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