pub struct SlowlogEntry {
pub id: i64,
pub timestamp: i64,
pub duration_us: i64,
pub command: Vec<Bytes>,
}Expand description
A single entry from Client::slowlog_get.
Fields§
§id: i64Monotonically increasing log entry ID.
timestamp: i64Unix timestamp (seconds) when the command was logged.
duration_us: i64Execution time in microseconds.
command: Vec<Bytes>The command and its arguments as raw bytes.
Trait Implementations§
Source§impl Clone for SlowlogEntry
impl Clone for SlowlogEntry
Source§fn clone(&self) -> SlowlogEntry
fn clone(&self) -> SlowlogEntry
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 SlowlogEntry
impl RefUnwindSafe for SlowlogEntry
impl Send for SlowlogEntry
impl Sync for SlowlogEntry
impl Unpin for SlowlogEntry
impl UnsafeUnpin 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