pub struct AuditLog {
pub id: Uuid,
pub user_id: Option<Uuid>,
pub org_id: Option<Uuid>,
pub action: String,
pub resource_type: String,
pub resource_id: Option<String>,
pub ip_address: Option<String>,
pub metadata: Value,
pub created_at: DateTime<Utc>,
}Fields§
§id: Uuid§user_id: Option<Uuid>§org_id: Option<Uuid>§action: String§resource_type: String§resource_id: Option<String>§ip_address: Option<String>§metadata: Value§created_at: DateTime<Utc>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
Auto Trait Implementations§
impl Freeze for AuditLog
impl RefUnwindSafe for AuditLog
impl Send for AuditLog
impl Sync for AuditLog
impl Unpin for AuditLog
impl UnsafeUnpin 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