pub struct TransitionParticipant {
pub plugin: String,
pub expected_pre: Vec<DomainRecordVersionRef>,
pub expected_post: Vec<TransitionRecordVersion>,
}Expand description
One plugin whose writes a transition requires.
Fields§
§plugin: String§expected_pre: Vec<DomainRecordVersionRef>Exact current versions, including their establishing change, that the committed state read by phase 10 must hold when the transition settles.
expected_post: Vec<TransitionRecordVersion>Versions these records must hold as of phase 11: after the boundary’s same-boundary phase-10 writes commit and with its pending next-boundary phase-7 and phase-10 writes applied. Phase-12 and phase-13 writes of the same boundary may still change a record after this check.
Implementations§
Trait Implementations§
Source§impl Clone for TransitionParticipant
impl Clone for TransitionParticipant
Source§impl Debug for TransitionParticipant
impl Debug for TransitionParticipant
Source§impl<'de> Deserialize<'de> for TransitionParticipant
impl<'de> Deserialize<'de> for TransitionParticipant
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 TransitionParticipant
Source§impl PartialEq for TransitionParticipant
impl PartialEq for TransitionParticipant
Source§impl Serialize for TransitionParticipant
impl Serialize for TransitionParticipant
impl StructuralPartialEq for TransitionParticipant
Auto Trait Implementations§
impl Freeze for TransitionParticipant
impl RefUnwindSafe for TransitionParticipant
impl Send for TransitionParticipant
impl Sync for TransitionParticipant
impl Unpin for TransitionParticipant
impl UnsafeUnpin for TransitionParticipant
impl UnwindSafe for TransitionParticipant
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