pub struct DatabaseQuery {
pub query_name: String,
pub params: Vec<String>,
pub timestamp: Instant,
}Expand description
数据库查询记录
Fields§
§query_name: String查询名称/类型
params: Vec<String>查询参数 (JSON 序列化)
timestamp: Instant查询时间戳
Trait Implementations§
Source§impl Clone for DatabaseQuery
impl Clone for DatabaseQuery
Source§fn clone(&self) -> DatabaseQuery
fn clone(&self) -> DatabaseQuery
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 DatabaseQuery
impl RefUnwindSafe for DatabaseQuery
impl Send for DatabaseQuery
impl Sync for DatabaseQuery
impl Unpin for DatabaseQuery
impl UnsafeUnpin for DatabaseQuery
impl UnwindSafe for DatabaseQuery
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