pub struct AutomationReport {
pub status: String,
pub dry_run: bool,
pub commands: Vec<AutomationCommandResult>,
}Expand description
Structured automation summary returned by pinto automate --json.
Fields§
§status: Stringcompleted, partial_failure, invalid, or dry_run.
dry_run: boolWhether the plan was validated without applying changes.
commands: Vec<AutomationCommandResult>Results in the same order as the submitted commands.
Trait Implementations§
Source§impl Clone for AutomationReport
impl Clone for AutomationReport
Source§fn clone(&self) -> AutomationReport
fn clone(&self) -> AutomationReport
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 AutomationReport
impl Debug for AutomationReport
impl Eq for AutomationReport
Source§impl PartialEq for AutomationReport
impl PartialEq for AutomationReport
Source§impl Serialize for AutomationReport
impl Serialize for AutomationReport
impl StructuralPartialEq for AutomationReport
Auto Trait Implementations§
impl Freeze for AutomationReport
impl RefUnwindSafe for AutomationReport
impl Send for AutomationReport
impl Sync for AutomationReport
impl Unpin for AutomationReport
impl UnsafeUnpin for AutomationReport
impl UnwindSafe for AutomationReport
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