Struct redis_module::commands::CommandInfo
source · pub struct CommandInfo { /* private fields */ }
Expand description
A struct represent a CommandInfo
Implementations§
source§impl CommandInfo
impl CommandInfo
pub fn new( name: String, flags: Option<String>, summary: Option<String>, complexity: Option<String>, since: Option<String>, tips: Option<String>, arity: i64, key_spec: Vec<KeySpec>, callback: extern "C" fn(_: *mut RedisModuleCtx, _: *mut *mut RedisModuleString, _: i32) -> i32 ) -> CommandInfo
Auto Trait Implementations§
impl RefUnwindSafe for CommandInfo
impl Send for CommandInfo
impl Sync for CommandInfo
impl Unpin for CommandInfo
impl UnwindSafe for CommandInfo
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more