pub struct AuditLog {
pub id: i32,
pub timestamp: String,
pub username: String,
pub operation: Operation,
pub action_kind: ActionKind,
pub resource: Option<String>,
pub parameters: Option<Value>,
}
Fields§
§id: i32
§timestamp: String
§username: String
§operation: Operation
§action_kind: ActionKind
§resource: Option<String>
§parameters: Option<Value>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AuditLog
impl<'de> Deserialize<'de> for AuditLog
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 StructuralPartialEq for AuditLog
Auto Trait Implementations§
impl Freeze for AuditLog
impl RefUnwindSafe for AuditLog
impl Send for AuditLog
impl Sync for AuditLog
impl Unpin for AuditLog
impl UnwindSafe for AuditLog
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