Struct rustis::ScanOptions
source · pub struct ScanOptions { /* private fields */ }Expand description
Options for the scan command
Implementations§
source§impl ScanOptions
impl ScanOptions
pub fn match_pattern<P: Into<CommandArg>>(self, match_pattern: P) -> Self
pub fn count(self, count: usize) -> Self
pub fn type_<TY: Into<CommandArg>>(self, type_: TY) -> Self
Trait Implementations§
source§impl Default for ScanOptions
impl Default for ScanOptions
source§fn default() -> ScanOptions
fn default() -> ScanOptions
Returns the “default value” for a type. Read more