pub struct CeremonyStepContribution { /* private fields */ }Expand description
One intervention produced during a ceremony step.
Implementations§
Source§impl CeremonyStepContribution
impl CeremonyStepContribution
Sourcepub fn new(step_id: StepId, role_id: RoleId, output: StepOutput) -> Self
pub fn new(step_id: StepId, role_id: RoleId, output: StepOutput) -> Self
Record the output produced by role_id while executing step_id.
pub fn at_state_iteration( step_id: StepId, state_iteration: StateIteration, role_id: RoleId, output: StepOutput, ) -> Self
pub fn state_visit(&self) -> StateVisit
pub fn with_state_visit(self, state_visit: StateVisit) -> Self
pub fn state_iteration(&self) -> StateIteration
Sourcepub fn output(&self) -> &StepOutput
pub fn output(&self) -> &StepOutput
The output the step produced.
Trait Implementations§
Source§impl Clone for CeremonyStepContribution
impl Clone for CeremonyStepContribution
Source§impl Debug for CeremonyStepContribution
impl Debug for CeremonyStepContribution
Source§impl<'de> Deserialize<'de> for CeremonyStepContribution
impl<'de> Deserialize<'de> for CeremonyStepContribution
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CeremonyStepContribution
Source§impl PartialEq for CeremonyStepContribution
impl PartialEq for CeremonyStepContribution
Source§impl Serialize for CeremonyStepContribution
impl Serialize for CeremonyStepContribution
impl StructuralPartialEq for CeremonyStepContribution
Auto Trait Implementations§
impl Freeze for CeremonyStepContribution
impl RefUnwindSafe for CeremonyStepContribution
impl Send for CeremonyStepContribution
impl Sync for CeremonyStepContribution
impl Unpin for CeremonyStepContribution
impl UnsafeUnpin for CeremonyStepContribution
impl UnwindSafe for CeremonyStepContribution
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