pub struct OperationRecord {
pub record_id: String,
pub operation_type: OperationType,
pub operation_time: DateTime<Utc>,
pub operator: UserInfo,
pub description: Option<String>,
pub ip_address: Option<String>,
pub device_info: Option<String>,
}Expand description
文档操作记录
Fields§
§record_id: String记录ID
operation_type: OperationType操作类型
operation_time: DateTime<Utc>操作时间
operator: UserInfo操作者
description: Option<String>操作描述
ip_address: Option<String>IP地址
device_info: Option<String>设备信息
Trait Implementations§
Source§impl Clone for OperationRecord
impl Clone for OperationRecord
Source§fn clone(&self) -> OperationRecord
fn clone(&self) -> OperationRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OperationRecord
impl Debug for OperationRecord
Source§impl<'de> Deserialize<'de> for OperationRecord
impl<'de> Deserialize<'de> for OperationRecord
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 OperationRecord
impl RefUnwindSafe for OperationRecord
impl Send for OperationRecord
impl Sync for OperationRecord
impl Unpin for OperationRecord
impl UnsafeUnpin for OperationRecord
impl UnwindSafe for OperationRecord
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