Struct redis_driver::ScanOptions
source · [−]pub struct ScanOptions { /* private fields */ }
Expand description
Options for the scan
command
Implementations
sourceimpl ScanOptions
impl ScanOptions
pub fn match_pattern<P: Into<BulkString>>(self, match_pattern: P) -> Self
pub fn count(self, count: usize) -> Self
pub fn type_<TY: Into<BulkString>>(self, type_: TY) -> Self
Trait Implementations
sourceimpl Default for ScanOptions
impl Default for ScanOptions
sourcefn default() -> ScanOptions
fn default() -> ScanOptions
Returns the “default value” for a type. Read more
sourceimpl IntoArgs for ScanOptions
impl IntoArgs for ScanOptions
fn into_args(self, args: CommandArgs) -> CommandArgs
fn num_args(&self) -> usize
Auto Trait Implementations
impl RefUnwindSafe for ScanOptions
impl Send for ScanOptions
impl Sync for ScanOptions
impl Unpin for ScanOptions
impl UnwindSafe for ScanOptions
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