Struct UpdateCommandExecution
pub struct UpdateCommandExecution<'a> {
pub status: CommandExecutionStatus,
pub status_reason: Option<StatusReason<'a>>,
}Expand description
Payload for updating a command execution.
Fields§
§status: CommandExecutionStatusThe status of the command execution.
status_reason: Option<StatusReason<'a>>A reason for the updated status. Can provide additional information on failures.
Should be used when status is one of the following: FAILED,
REJECTED, TIMED_OUT.
Trait Implementations§
§impl<'a> Clone for UpdateCommandExecution<'a>
impl<'a> Clone for UpdateCommandExecution<'a>
§fn clone(&self) -> UpdateCommandExecution<'a>
fn clone(&self) -> UpdateCommandExecution<'a>
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 more§impl<'a> Debug for UpdateCommandExecution<'a>
impl<'a> Debug for UpdateCommandExecution<'a>
§impl<'a> Serialize for UpdateCommandExecution<'a>
impl<'a> Serialize for UpdateCommandExecution<'a>
Auto Trait Implementations§
impl<'a> Freeze for UpdateCommandExecution<'a>
impl<'a> RefUnwindSafe for UpdateCommandExecution<'a>
impl<'a> Send for UpdateCommandExecution<'a>
impl<'a> Sync for UpdateCommandExecution<'a>
impl<'a> Unpin for UpdateCommandExecution<'a>
impl<'a> UnwindSafe for UpdateCommandExecution<'a>
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