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