pub struct RangeEntry {
pub id: EntryId,
pub values: HashMap<String, RedisValue>,
}Expand description
Structure that wraps an range entry received on XRANGE request.
Fields§
§id: EntryIdStream entry id is a simple string “milliseconds-id”
values: HashMap<String, RedisValue>Note Redis allows to use key as a binary Bulk String but in the library it is forbidden for easy of use API. Value may be any of the RedisValue types
Trait Implementations§
Source§impl Clone for RangeEntry
impl Clone for RangeEntry
Source§fn clone(&self) -> RangeEntry
fn clone(&self) -> RangeEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RangeEntry
impl Debug for RangeEntry
Source§impl PartialEq for RangeEntry
impl PartialEq for RangeEntry
impl StructuralPartialEq for RangeEntry
Auto Trait Implementations§
impl Freeze for RangeEntry
impl RefUnwindSafe for RangeEntry
impl Send for RangeEntry
impl Sync for RangeEntry
impl Unpin for RangeEntry
impl UnwindSafe for RangeEntry
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