pub struct ResourceAuditContext {
pub key: ResourceKey,
pub scope: ScopeId,
pub transaction_id: TransactionId,
pub revision: Revision,
pub kind: ResourceCommandKind,
}Expand description
Structural context for an audited resource command assertion.
Fields§
§key: ResourceKeyResource key for the audited command.
scope: ScopeIdScope associated with the command.
transaction_id: TransactionIdTransaction that emitted the command.
revision: RevisionRevision that emitted the command.
kind: ResourceCommandKindCommand operation without application payload.
Trait Implementations§
Source§impl Clone for ResourceAuditContext
impl Clone for ResourceAuditContext
Source§fn clone(&self) -> ResourceAuditContext
fn clone(&self) -> ResourceAuditContext
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 ResourceAuditContext
impl Debug for ResourceAuditContext
impl Eq for ResourceAuditContext
Source§impl PartialEq for ResourceAuditContext
impl PartialEq for ResourceAuditContext
Source§fn eq(&self, other: &ResourceAuditContext) -> bool
fn eq(&self, other: &ResourceAuditContext) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ResourceAuditContext
Auto Trait Implementations§
impl Freeze for ResourceAuditContext
impl RefUnwindSafe for ResourceAuditContext
impl Send for ResourceAuditContext
impl Sync for ResourceAuditContext
impl Unpin for ResourceAuditContext
impl UnsafeUnpin for ResourceAuditContext
impl UnwindSafe for ResourceAuditContext
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