pub struct AuditRow {
pub id: i64,
pub action: String,
pub entry_provider: Option<String>,
pub timestamp: String,
pub details: Option<String>,
pub entry_hash: Option<String>,
pub prev_hash: Option<String>,
pub actor: Option<String>,
}Expand description
A single audit log row, including the hash-chain fields.
Fields§
§id: i64§action: String§entry_provider: Option<String>§timestamp: String§details: Option<String>§entry_hash: Option<String>§prev_hash: Option<String>§actor: Option<String>User id that performed the action. None for rows written before actor
tracking, and for local desktop edits where the owner is implicit.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AuditRow
impl<'de> Deserialize<'de> for AuditRow
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
Auto Trait Implementations§
impl Freeze for AuditRow
impl RefUnwindSafe for AuditRow
impl Send for AuditRow
impl Sync for AuditRow
impl Unpin for AuditRow
impl UnsafeUnpin for AuditRow
impl UnwindSafe for AuditRow
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