Struct redis_driver::SlowLogEntry
source · [−]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: i64A unique progressive identifier for every slow log entry.
unix_timestamp: u32A unique progressive identifier for every slow log entry.
execution_time_micros: u64The amount of time needed for its execution, in microseconds.
command: Vec<String>The array composing the arguments of the command.
client_address: StringClient IP address and port.
client_name: StringClient name if set via the CLIENT SETNAME command.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SlowLogEntry
impl Send for SlowLogEntry
impl Sync for SlowLogEntry
impl Unpin for SlowLogEntry
impl UnwindSafe for SlowLogEntry
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more