[][src]Struct redismodule_cmd::Arg

pub struct Arg {
    pub arg: &'static str,
    pub desc: &'static str,
    pub arg_type: ArgType,
    pub type_name: &'static str,
    pub kind: Collection,
    pub default: Option<Box<dyn Value>>,
}

Fields

arg: &'static strdesc: &'static strarg_type: ArgTypetype_name: &'static strkind: Collectiondefault: Option<Box<dyn Value>>

Implementations

impl Arg[src]

pub fn new(
    arg: &'static str,
    desc: &'static str,
    arg_type: ArgType,
    type_name: &'static str,
    kind: Collection,
    default: Option<Box<dyn Value>>
) -> Self
[src]

Trait Implementations

impl Debug for Arg[src]

impl PartialEq<Arg> for Arg[src]

Auto Trait Implementations

impl !RefUnwindSafe for Arg

impl !Send for Arg

impl !Sync for Arg

impl Unpin for Arg

impl !UnwindSafe for Arg

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.