Struct embedded_redis::subscription::Message
source · pub struct Message {
pub channel: Bytes,
pub payload: Bytes,
}
Expand description
A published subscription message
Fields§
§channel: Bytes
The channel the message has been published to
payload: Bytes
The actual payload
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnwindSafe for Message
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