pub struct AuditEntry {
pub actor: FleetActor,
pub action: String,
pub target: String,
pub at: i64,
pub surface_ref: Option<String>,
pub result: AuditResult,
}Expand description
Who did what, to what, when, and with what result.
Create it with Store::put(record, None) and never update it. A Conflict
means the key already exists: build a new key with a different nonce.
Fields§
§actor: FleetActor§action: StringWhat was done, such as "spawn" or "link".
target: StringWhat it was done to.
at: i64§surface_ref: Option<String>A reference to where it happened, such as a chat message link.
result: AuditResultImplementations§
Source§impl AuditEntry
impl AuditEntry
Trait Implementations§
Source§impl Clone for AuditEntry
impl Clone for AuditEntry
Source§fn clone(&self) -> AuditEntry
fn clone(&self) -> AuditEntry
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 AuditEntry
impl Debug for AuditEntry
Source§impl<'de> Deserialize<'de> for AuditEntry
impl<'de> Deserialize<'de> for AuditEntry
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
impl Eq for AuditEntry
Source§impl PartialEq for AuditEntry
impl PartialEq for AuditEntry
Source§impl RecordCodec for AuditEntry
impl RecordCodec for AuditEntry
Source§impl Serialize for AuditEntry
impl Serialize for AuditEntry
impl StructuralPartialEq for AuditEntry
Auto Trait Implementations§
impl Freeze for AuditEntry
impl RefUnwindSafe for AuditEntry
impl Send for AuditEntry
impl Sync for AuditEntry
impl Unpin for AuditEntry
impl UnsafeUnpin for AuditEntry
impl UnwindSafe for AuditEntry
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