Struct rustis::commands::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: 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§

source§

impl Debug for CommandDoc

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for CommandDoc

source§

fn default() -> CommandDoc

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for CommandDoc

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

source§

fn vzip(self) -> V

source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

source§

impl<T> Response for T