pub struct AuditTarget {
pub kind: String,
pub id: String,
}Fields§
§kind: StringDotted-or-snake namespace, e.g. "inventory.unit", "user",
"checkout.session". Convention only — not enforced at compile time.
id: StringConsumer-stringified primary key (any string that uniquely identifies
the target within kind).
Implementations§
Trait Implementations§
Source§impl Clone for AuditTarget
impl Clone for AuditTarget
Source§fn clone(&self) -> AuditTarget
fn clone(&self) -> AuditTarget
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 AuditTarget
impl Debug for AuditTarget
impl Eq for AuditTarget
Source§impl PartialEq for AuditTarget
impl PartialEq for AuditTarget
Source§fn eq(&self, other: &AuditTarget) -> bool
fn eq(&self, other: &AuditTarget) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AuditTarget
Auto Trait Implementations§
impl Freeze for AuditTarget
impl RefUnwindSafe for AuditTarget
impl Send for AuditTarget
impl Sync for AuditTarget
impl Unpin for AuditTarget
impl UnsafeUnpin for AuditTarget
impl UnwindSafe for AuditTarget
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