pub struct StreamEntry {
pub id: String,
pub fields: HashMap<String, String>,
}Expand description
Represents a single entry in a Redis Stream
Fields§
§id: StringThe unique ID of the entry (e.g., “1234567890123-0”)
fields: HashMap<String, String>The field-value pairs of the entry
Implementations§
Source§impl StreamEntry
impl StreamEntry
Trait Implementations§
Source§impl Clone for StreamEntry
impl Clone for StreamEntry
Source§fn clone(&self) -> StreamEntry
fn clone(&self) -> StreamEntry
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 moreAuto Trait Implementations§
impl Freeze for StreamEntry
impl RefUnwindSafe for StreamEntry
impl Send for StreamEntry
impl Sync for StreamEntry
impl Unpin for StreamEntry
impl UnwindSafe for StreamEntry
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