pub struct ChangesetOperationStatusChangedAction {
pub operation_id: String,
pub status: ChangesetOperationStatus,
pub error: Option<ErrorInfo>,
}Expand description
The {@link ChangesetOperation.status} for a single operation transitioned
(e.g. idle → running → idle, or running → error). The error payload
is set together with status whenever it transitions to
{@link ChangesetOperationStatus.Error | Error}, and cleared on any other
transition.
Targets one operation by its {@link ChangesetOperation.id}. If no operation with that id is currently present in the changeset, the action is a no-op. Use {@link ChangesetOperationsChangedAction} to add, remove, or otherwise replace the operation list itself.
Fields§
§operation_id: StringThe {@link ChangesetOperation.id} whose status changed.
status: ChangesetOperationStatusNew execution status.
error: Option<ErrorInfo>Cause when status === ChangesetOperationStatus.Error; otherwise omitted.
Trait Implementations§
Source§impl Clone for ChangesetOperationStatusChangedAction
impl Clone for ChangesetOperationStatusChangedAction
Source§fn clone(&self) -> ChangesetOperationStatusChangedAction
fn clone(&self) -> ChangesetOperationStatusChangedAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for ChangesetOperationStatusChangedAction
impl<'de> Deserialize<'de> for ChangesetOperationStatusChangedAction
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
Source§impl PartialEq for ChangesetOperationStatusChangedAction
impl PartialEq for ChangesetOperationStatusChangedAction
Source§fn eq(&self, other: &ChangesetOperationStatusChangedAction) -> bool
fn eq(&self, other: &ChangesetOperationStatusChangedAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ChangesetOperationStatusChangedAction
Auto Trait Implementations§
impl Freeze for ChangesetOperationStatusChangedAction
impl RefUnwindSafe for ChangesetOperationStatusChangedAction
impl Send for ChangesetOperationStatusChangedAction
impl Sync for ChangesetOperationStatusChangedAction
impl Unpin for ChangesetOperationStatusChangedAction
impl UnsafeUnpin for ChangesetOperationStatusChangedAction
impl UnwindSafe for ChangesetOperationStatusChangedAction
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