Struct redis_driver::CommandDoc
source · 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: Stringshort command description.
since: Stringthe Redis version that added the command (or for module commands, the module version).
group: Stringhe functional group to which the command belongs.
complexity: Stringa 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: Stringthe Redis version that deprecated the command (or for module commands, the module version).
replaced_by: Stringthe 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
sourceimpl Debug for CommandDoc
impl Debug for CommandDoc
sourceimpl Default for CommandDoc
impl Default for CommandDoc
sourcefn default() -> CommandDoc
fn default() -> CommandDoc
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for CommandDoc
impl Send for CommandDoc
impl Sync for CommandDoc
impl Unpin for CommandDoc
impl UnwindSafe for CommandDoc
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