Struct redis_driver::ClientListOptions
source · [−]pub struct ClientListOptions { /* private fields */ }
Expand description
Options for the client_list command.
Implementations
sourceimpl ClientListOptions
impl ClientListOptions
pub fn client_type(self, client_type: ClientType) -> Self
pub fn client_ids<II>(self, client_ids: II) -> Selfwhere
II: SingleArgOrCollection<i64>,
Trait Implementations
sourceimpl Default for ClientListOptions
impl Default for ClientListOptions
sourcefn default() -> ClientListOptions
fn default() -> ClientListOptions
Returns the “default value” for a type. Read more
sourceimpl IntoArgs for ClientListOptions
impl IntoArgs for ClientListOptions
fn into_args(self, args: CommandArgs) -> CommandArgs
fn num_args(&self) -> usize
Auto Trait Implementations
impl RefUnwindSafe for ClientListOptions
impl Send for ClientListOptions
impl Sync for ClientListOptions
impl Unpin for ClientListOptions
impl UnwindSafe for ClientListOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more