Struct rustis::commands::ZAddOptions
source · pub struct ZAddOptions { /* private fields */ }
Expand description
Options for the zadd
command.
Implementations§
source§impl ZAddOptions
impl ZAddOptions
pub fn condition(self, condition: ZAddCondition) -> Self
pub fn comparison(self, comparison: ZAddComparison) -> Self
pub fn change(self) -> Self
Trait Implementations§
source§impl Default for ZAddOptions
impl Default for ZAddOptions
source§fn default() -> ZAddOptions
fn default() -> ZAddOptions
Returns the “default value” for a type. Read more
source§impl ToArgs for ZAddOptions
impl ToArgs for ZAddOptions
source§fn write_args(&self, args: &mut CommandArgs)
fn write_args(&self, args: &mut CommandArgs)
Write this Rust type as one ore multiple args into CommandArgs. Read more
Auto Trait Implementations§
impl Freeze for ZAddOptions
impl RefUnwindSafe for ZAddOptions
impl Send for ZAddOptions
impl Sync for ZAddOptions
impl Unpin for ZAddOptions
impl UnwindSafe for ZAddOptions
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