Struct akka_persistence_rs::Message
source · pub struct Message<C> {
pub entity_id: EntityId,
pub command: C,
}
Expand description
A message encapsulates a command that is addressed to a specific entity.
Fields§
§entity_id: EntityId
§command: C
Implementations§
Trait Implementations§
source§impl<C: PartialEq> PartialEq for Message<C>
impl<C: PartialEq> PartialEq for Message<C>
impl<C> StructuralPartialEq for Message<C>
Auto Trait Implementations§
impl<C> RefUnwindSafe for Message<C>where C: RefUnwindSafe,
impl<C> Send for Message<C>where C: Send,
impl<C> Sync for Message<C>where C: Sync,
impl<C> Unpin for Message<C>where C: Unpin,
impl<C> UnwindSafe for Message<C>where C: UnwindSafe,
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