pub struct Participant {
pub actor_type: ActorType,
pub id: ID,
}Expand description
Participant in a log event. Either side of an interaction can be absent.
Fields§
§actor_type: ActorTypeEntity role that produced or received the event.
id: IDStable identifier for the actor.
It is suggested to use id 0 for ActorType::Orchestrator.
Implementations§
Trait Implementations§
Source§impl Clone for Participant
impl Clone for Participant
Source§fn clone(&self) -> Participant
fn clone(&self) -> Participant
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 moreSource§impl Debug for Participant
impl Debug for Participant
Source§impl PartialEq for Participant
impl PartialEq for Participant
impl Eq for Participant
impl StructuralPartialEq for Participant
Auto Trait Implementations§
impl Freeze for Participant
impl RefUnwindSafe for Participant
impl Send for Participant
impl Sync for Participant
impl Unpin for Participant
impl UnwindSafe for Participant
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