pub struct Operation {
pub kind: Option<OperationKind>,
pub continues: Option<OperationKind>,
pub outcome: OperationOutcome,
}Expand description
What Workyard attempted and how that attempt settled.
Fields§
§kind: Option<OperationKind>Unknown for records written before operation provenance was recorded.
continues: Option<OperationKind>Recovery continues an existing operation; it does not replace its meaning.
outcome: OperationOutcomeSettlement of this invocation.
Implementations§
Source§impl Operation
impl Operation
Sourcepub fn is_continuing(self, kind: OperationKind) -> bool
pub fn is_continuing(self, kind: OperationKind) -> bool
A direct operation or a recovery explicitly continuing that operation.
Trait Implementations§
impl Copy for Operation
impl Eq for Operation
impl StructuralPartialEq for Operation
Auto Trait Implementations§
impl Forget for Operation
impl Freeze for Operation
impl Move for Operation
impl RefUnwindSafe for Operation
impl Send for Operation
impl Sync for Operation
impl Unpin for Operation
impl UnsafeUnpin for Operation
impl UnwindSafe for Operation
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