pub struct StreamSubscriptionEntry {
pub key: Key,
pub value: Bytes,
}Expand description
One delivered (key, value) row from a stream subscription. The client reapplies its own filter if it needs to know which match_key matched — the wire frame doesn’t carry the index.
Fields§
§key: Key§value: BytesTrait Implementations§
Source§impl Clone for StreamSubscriptionEntry
impl Clone for StreamSubscriptionEntry
Source§fn clone(&self) -> StreamSubscriptionEntry
fn clone(&self) -> StreamSubscriptionEntry
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 StreamSubscriptionEntry
impl RefUnwindSafe for StreamSubscriptionEntry
impl Send for StreamSubscriptionEntry
impl Sync for StreamSubscriptionEntry
impl Unpin for StreamSubscriptionEntry
impl UnsafeUnpin for StreamSubscriptionEntry
impl UnwindSafe for StreamSubscriptionEntry
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