Struct akka_persistence_rs::entity::Context
source · pub struct Context<'a> {
pub entity_id: &'a EntityId,
}
Expand description
A context provides information about the environment that hosts a specific entity.
Fields§
§entity_id: &'a EntityId
The entity’s unique identifier.
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Context<'a>
impl<'a> Send for Context<'a>
impl<'a> Sync for Context<'a>
impl<'a> Unpin for Context<'a>
impl<'a> UnwindSafe for Context<'a>
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