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
Source§impl IntoArgs for ScanOptions
impl IntoArgs for ScanOptions
fn into_args(self, args: CommandArgs) -> CommandArgs
fn num_args(&self) -> usize
Auto Trait Implementations§
impl Freeze for ScanOptions
impl RefUnwindSafe for ScanOptions
impl Send for ScanOptions
impl Sync for ScanOptions
impl Unpin for ScanOptions
impl UnwindSafe for ScanOptions
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