pub struct Hash<'a> {
pub key: &'a [u8],
pub fields: &'a [Field],
pub meta: &'a Meta,
}
Expand description
代表Redis中的Hash类型数据
Fields§
§key: &'a [u8]
数据的key
fields: &'a [Field]
数据所有的字段
meta: &'a Meta
数据的元信息
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Hash<'a>
impl<'a> RefUnwindSafe for Hash<'a>
impl<'a> Send for Hash<'a>
impl<'a> Sync for Hash<'a>
impl<'a> Unpin for Hash<'a>
impl<'a> UnwindSafe for Hash<'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