pub struct ZADD<'a> {
pub key: &'a [u8],
pub exist_type: Option<ExistType>,
pub ch: Option<bool>,
pub incr: Option<bool>,
pub items: Vec<Item<'a>>,
}Fields§
§key: &'a [u8]§exist_type: Option<ExistType>XX: 只更新现有的元素,不添加新的元素. NX: 只添加新的元素,不更新现有的元素.
ch: Option<bool>§incr: Option<bool>§items: Vec<Item<'a>>Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ZADD<'a>
impl<'a> RefUnwindSafe for ZADD<'a>
impl<'a> Send for ZADD<'a>
impl<'a> Sync for ZADD<'a>
impl<'a> Unpin for ZADD<'a>
impl<'a> UnwindSafe for ZADD<'a>
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