pub struct ApiAuditLog {
pub _id: String,
pub user_id: Option<String>,
pub username: Option<String>,
pub resource_name: String,
pub crud_type: CrudType,
pub from: Option<From>,
pub url: Option<Option<String>>,
pub ip: Option<Option<String>>,
pub when: Option<String>,
pub description: Option<String>,
pub server_start_date: Option<String>,
pub object_details: Option<Option<HashMap<String, Value>>>,
}Fields§
§_id: String§user_id: Option<String>§username: Option<String>§resource_name: String§crud_type: CrudType§from: Option<From>§url: Option<Option<String>>§ip: Option<Option<String>>§when: Option<String>§description: Option<String>§server_start_date: Option<String>§object_details: Option<Option<HashMap<String, Value>>>Construct a type with a set of properties K of type T
Implementations§
Source§impl ApiAuditLog
impl ApiAuditLog
Trait Implementations§
Source§impl Clone for ApiAuditLog
impl Clone for ApiAuditLog
Source§fn clone(&self) -> ApiAuditLog
fn clone(&self) -> ApiAuditLog
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 moreSource§impl Debug for ApiAuditLog
impl Debug for ApiAuditLog
Source§impl Default for ApiAuditLog
impl Default for ApiAuditLog
Source§fn default() -> ApiAuditLog
fn default() -> ApiAuditLog
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ApiAuditLog
impl<'de> Deserialize<'de> for ApiAuditLog
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
Source§impl PartialEq for ApiAuditLog
impl PartialEq for ApiAuditLog
Source§impl Serialize for ApiAuditLog
impl Serialize for ApiAuditLog
impl StructuralPartialEq for ApiAuditLog
Auto Trait Implementations§
impl Freeze for ApiAuditLog
impl RefUnwindSafe for ApiAuditLog
impl Send for ApiAuditLog
impl Sync for ApiAuditLog
impl Unpin for ApiAuditLog
impl UnwindSafe for ApiAuditLog
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