pub struct StreamKey {
pub key: String,
pub ids: Vec<StreamId>,
}
Available on crate feature
streams
only.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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)