pub enum ValueKind {
String,
Map,
Json,
List,
}
Expand description
Represents the kind of values in the pedis store
Variants§
String
Used when storing simple strings
Map
Used when storing data as a map
Json
Used when storing json
List
Used when storing lists
Trait Implementations§
impl StructuralPartialEq for ValueKind
Auto Trait Implementations§
impl Freeze for ValueKind
impl RefUnwindSafe for ValueKind
impl Send for ValueKind
impl Sync for ValueKind
impl Unpin for ValueKind
impl UnwindSafe for ValueKind
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