pub struct CreateAuditLog {
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: Option<Value>,
}Fields§
§user_id: Option<Uuid>§org_id: Option<Uuid>§action: String§resource_type: String§resource_id: Option<String>§ip_address: Option<String>§metadata: Option<Value>Trait Implementations§
Source§impl Clone for CreateAuditLog
impl Clone for CreateAuditLog
Source§fn clone(&self) -> CreateAuditLog
fn clone(&self) -> CreateAuditLog
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CreateAuditLog
impl RefUnwindSafe for CreateAuditLog
impl Send for CreateAuditLog
impl Sync for CreateAuditLog
impl Unpin for CreateAuditLog
impl UnsafeUnpin for CreateAuditLog
impl UnwindSafe for CreateAuditLog
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