pub struct ZAddFlags {
pub nx: bool,
pub xx: bool,
pub gt: bool,
pub lt: bool,
pub ch: bool,
}Expand description
Flags for the ZADD command.
Fields§
§nx: boolOnly add new members, don’t update existing scores.
xx: boolOnly update existing members, don’t add new ones.
gt: boolOnly update when new score > current score.
lt: boolOnly update when new score < current score.
ch: boolReturn count of changed members (added + updated) instead of just added.
Trait Implementations§
impl Eq for ZAddFlags
impl StructuralPartialEq for ZAddFlags
Auto Trait Implementations§
impl Freeze for ZAddFlags
impl RefUnwindSafe for ZAddFlags
impl Send for ZAddFlags
impl Sync for ZAddFlags
impl Unpin for ZAddFlags
impl UnsafeUnpin for ZAddFlags
impl UnwindSafe for ZAddFlags
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