pub struct StreamEntry {
pub id: String,
pub fields: Vec<(Bytes, Bytes)>,
}Expand description
A stream entry: an ID and a list of field-value pairs.
Fields§
§id: StringRedis stream entry ID.
fields: Vec<(Bytes, Bytes)>Ordered field-value pairs stored in the entry.
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 (const: unstable) · 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 StreamEntry
impl Debug for StreamEntry
Source§impl PartialEq for StreamEntry
impl PartialEq for StreamEntry
impl StructuralPartialEq for StreamEntry
Auto Trait Implementations§
impl Freeze for StreamEntry
impl RefUnwindSafe for StreamEntry
impl Send for StreamEntry
impl Sync for StreamEntry
impl Unpin for StreamEntry
impl UnsafeUnpin 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