pub struct StreamKey {
pub key: String,
pub ids: Vec<StreamId>,
}
Expand description
Represents a stream key
and its id
’s parsed from xread
methods.
Fields§
§key: String
The stream key
.
ids: Vec<StreamId>
The parsed stream id
’s.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StreamKey
impl RefUnwindSafe for StreamKey
impl Send for StreamKey
impl Sync for StreamKey
impl Unpin for StreamKey
impl UnwindSafe for StreamKey
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