pub struct AutomationCommandResult {
pub index: usize,
pub command: String,
pub status: String,
pub created_ids: Vec<String>,
pub updated_ids: Vec<String>,
pub error: Option<String>,
}Expand description
Per-command result returned by pinto automate --json.
Fields§
§index: usizeOne-based position in the submitted plan.
command: StringCommand name without argument values.
status: Stringvalid, succeeded, failed, or skipped.
created_ids: Vec<String>IDs created by this command, when they can be determined.
updated_ids: Vec<String>IDs targeted by an update command, when they can be determined.
error: Option<String>Sanitized error detail for failed or invalid commands.
Trait Implementations§
Source§impl Clone for AutomationCommandResult
impl Clone for AutomationCommandResult
Source§fn clone(&self) -> AutomationCommandResult
fn clone(&self) -> AutomationCommandResult
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 Debug for AutomationCommandResult
impl Debug for AutomationCommandResult
impl Eq for AutomationCommandResult
Source§impl PartialEq for AutomationCommandResult
impl PartialEq for AutomationCommandResult
Source§impl Serialize for AutomationCommandResult
impl Serialize for AutomationCommandResult
impl StructuralPartialEq for AutomationCommandResult
Auto Trait Implementations§
impl Freeze for AutomationCommandResult
impl RefUnwindSafe for AutomationCommandResult
impl Send for AutomationCommandResult
impl Sync for AutomationCommandResult
impl Unpin for AutomationCommandResult
impl UnsafeUnpin for AutomationCommandResult
impl UnwindSafe for AutomationCommandResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more