#[repr(C)]pub struct ValkeyModuleCommandArg {
pub name: *const c_char,
pub type_: ValkeyModuleCommandArgType,
pub key_spec_index: c_int,
pub token: *const c_char,
pub summary: *const c_char,
pub since: *const c_char,
pub flags: c_int,
pub deprecated_since: *const c_char,
pub subargs: *mut ValkeyModuleCommandArg,
pub display_text: *const c_char,
}Fields§
§name: *const c_char§type_: ValkeyModuleCommandArgType§key_spec_index: c_int§token: *const c_char§summary: *const c_char§since: *const c_char§flags: c_int§deprecated_since: *const c_char§subargs: *mut ValkeyModuleCommandArg§display_text: *const c_charTrait Implementations§
Source§impl Clone for ValkeyModuleCommandArg
impl Clone for ValkeyModuleCommandArg
Source§fn clone(&self) -> ValkeyModuleCommandArg
fn clone(&self) -> ValkeyModuleCommandArg
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ValkeyModuleCommandArg
Auto Trait Implementations§
impl !Send for ValkeyModuleCommandArg
impl !Sync for ValkeyModuleCommandArg
impl Freeze for ValkeyModuleCommandArg
impl RefUnwindSafe for ValkeyModuleCommandArg
impl Unpin for ValkeyModuleCommandArg
impl UnsafeUnpin for ValkeyModuleCommandArg
impl UnwindSafe for ValkeyModuleCommandArg
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