pub struct SlowLogEntry {
pub id: i64,
pub unix_timestamp: u32,
pub execution_time_micros: u64,
pub command: Vec<String>,
pub client_address: String,
pub client_name: String,
}
Expand description
Result slowlog_get
for the command.
Fields§
§id: i64
A unique progressive identifier for every slow log entry.
unix_timestamp: u32
A unique progressive identifier for every slow log entry.
execution_time_micros: u64
The amount of time needed for its execution, in microseconds.
command: Vec<String>
The array composing the arguments of the command.
client_address: String
Client IP address and port.
client_name: String
Client name if set via the CLIENT SETNAME command.
Trait Implementations§
Source§impl FromValue for SlowLogEntry
impl FromValue for SlowLogEntry
Auto Trait Implementations§
impl Freeze for SlowLogEntry
impl RefUnwindSafe for SlowLogEntry
impl Send for SlowLogEntry
impl Sync for SlowLogEntry
impl Unpin for SlowLogEntry
impl UnwindSafe for SlowLogEntry
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