pub struct ChoreographyStep {
pub participant: ParticipantId,
pub action: Action,
pub sequence: usize,
}Expand description
A single step in a choreography.
Fields§
§participant: ParticipantIdWhich participant performs this step.
action: ActionWhat the participant does.
sequence: usizeStep index in the choreography sequence.
Trait Implementations§
Source§impl Clone for ChoreographyStep
impl Clone for ChoreographyStep
Source§fn clone(&self) -> ChoreographyStep
fn clone(&self) -> ChoreographyStep
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 ChoreographyStep
impl RefUnwindSafe for ChoreographyStep
impl Send for ChoreographyStep
impl Sync for ChoreographyStep
impl Unpin for ChoreographyStep
impl UnsafeUnpin for ChoreographyStep
impl UnwindSafe for ChoreographyStep
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