Struct rustis::commands::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§
source§impl<'de> Deserialize<'de> for SlowLogEntry
impl<'de> Deserialize<'de> for SlowLogEntry
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