pub struct BusMessage {
pub key: String,
pub entity: String,
pub payload: Arc<Bytes>,
}Expand description
Message sent through the event bus
Fields§
§key: String§entity: String§payload: Arc<Bytes>Trait Implementations§
Source§impl Clone for BusMessage
impl Clone for BusMessage
Source§fn clone(&self) -> BusMessage
fn clone(&self) -> BusMessage
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 BusMessage
impl RefUnwindSafe for BusMessage
impl Send for BusMessage
impl Sync for BusMessage
impl Unpin for BusMessage
impl UnwindSafe for BusMessage
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