[−][src]Struct redismodule_cmd::Command
Fields
name: &'static str
desc: &'static str
required_args: Vec<Arg>
optional_args: Vec<Arg>
kwargs: HashMap<&'static str, Arg>
Implementations
impl Command
[src]
pub fn new(name: &'static str, desc: &'static str) -> Self
[src]
pub fn add_arg(&mut self, arg: Arg)
[src]
pub fn parse_args(
&self,
raw_args: Vec<String>
) -> Result<HashMap<&'static str, Box<dyn Value>>, RedisError>
[src]
&self,
raw_args: Vec<String>
) -> Result<HashMap<&'static str, Box<dyn Value>>, RedisError>
Trait Implementations
impl Debug for Command
[src]
impl PartialEq<Command> for Command
[src]
impl StructuralPartialEq for Command
[src]
Auto Trait Implementations
impl !RefUnwindSafe for Command
impl !Send for Command
impl !Sync for Command
impl Unpin for Command
impl !UnwindSafe for Command
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,