pub struct PersonCreatedEvent {
pub person_id: PersonId,
}
Expand description
Emitted when a new person is created These should not be emitted outside this module
Fields§
§person_id: PersonId
The PersonId
of the new person.
Trait Implementations§
Source§impl Clone for PersonCreatedEvent
impl Clone for PersonCreatedEvent
Source§fn clone(&self) -> PersonCreatedEvent
fn clone(&self) -> PersonCreatedEvent
Returns a copy 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 moreSource§impl IxaEvent for PersonCreatedEvent
impl IxaEvent for PersonCreatedEvent
Source§fn on_subscribe(_context: &mut Context)
fn on_subscribe(_context: &mut Context)
Called every time
context.subscribe_to_event
is called with this eventimpl Copy for PersonCreatedEvent
Auto Trait Implementations§
impl Freeze for PersonCreatedEvent
impl RefUnwindSafe for PersonCreatedEvent
impl Send for PersonCreatedEvent
impl Sync for PersonCreatedEvent
impl Unpin for PersonCreatedEvent
impl UnwindSafe for PersonCreatedEvent
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