pub struct SRandMemberCommand { /* private fields */ }Expand description
Represents the SRANDMEMBER command.
Implementations§
Trait Implementations§
Source§impl Clone for SRandMemberCommand
impl Clone for SRandMemberCommand
Source§fn clone(&self) -> SRandMemberCommand
fn clone(&self) -> SRandMemberCommand
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Command for SRandMemberCommand
impl Command for SRandMemberCommand
Source§fn command_name(&self) -> &str
fn command_name(&self) -> &str
Get the command name
Source§fn parse_response(&self, response: RespValue) -> RedisResult<Self::Output>
fn parse_response(&self, response: RespValue) -> RedisResult<Self::Output>
Parse the response into the output type
Source§impl Debug for SRandMemberCommand
impl Debug for SRandMemberCommand
Auto Trait Implementations§
impl Freeze for SRandMemberCommand
impl RefUnwindSafe for SRandMemberCommand
impl Send for SRandMemberCommand
impl Sync for SRandMemberCommand
impl Unpin for SRandMemberCommand
impl UnwindSafe for SRandMemberCommand
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