pub struct CommandDoc {
    pub summary: String,
    pub since: String,
    pub group: String,
    pub complexity: String,
    pub doc_flags: Vec<CommandDocFlag>,
    pub deprecated_since: String,
    pub replaced_by: String,
    pub history: Vec<HistoricalNote>,
    pub arguments: Vec<CommandArgument>,
}
Expand description

Command doc result for the command_docs command

Fields

summary: String

short command description.

since: String

the Redis version that added the command (or for module commands, the module version).

group: String

he functional group to which the command belongs.

complexity: String

a short explanation about the command’s time complexity.

doc_flags: Vec<CommandDocFlag>

an array of documentation flags. Possible values are:

  • deprecated: the command is deprecated.
  • syscmd: a system command that isn’t meant to be called by users.
deprecated_since: String

the Redis version that deprecated the command (or for module commands, the module version).

replaced_by: String

the alternative for a deprecated command.

history: Vec<HistoricalNote>

an array of historical notes describing changes to the command’s behavior or arguments.

arguments: Vec<CommandArgument>

an array of command arguments

Trait Implementations

Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Used to do Value to user type conversion Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more