#[non_exhaustive]pub enum ResultData {
Started {
state: RunState,
outputs: Vec<ShownOutput>,
},
Swept {
destroyed: Vec<String>,
pending: Vec<String>,
failed: Vec<SweepFailure>,
},
Machine {
machine: Option<String>,
},
Moved {
state: RunState,
},
}Expand description
What an operation found or produced, by operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Started
An up that came up: where the run stands, and its outputs.
Fields
§
outputs: Vec<ShownOutput>Its outputs, sensitive values shown as ***.
Swept
A reap: the expired runs it destroyed or would.
Fields
§
failed: Vec<SweepFailure>The runs whose destroy failed, with why.
Machine
An operation on one machine or on all (attach, retire, exec, provision): which.
Fields
Moved
An operation that moved the run (down, park, resume): where it stands.
Trait Implementations§
Source§impl Clone for ResultData
impl Clone for ResultData
Source§impl Debug for ResultData
impl Debug for ResultData
Source§impl<'de> Deserialize<'de> for ResultData
impl<'de> Deserialize<'de> for ResultData
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
impl Eq for ResultData
Source§impl JsonSchema for ResultData
impl JsonSchema for ResultData
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ResultData
impl PartialEq for ResultData
Source§impl Serialize for ResultData
impl Serialize for ResultData
impl StructuralPartialEq for ResultData
Auto Trait Implementations§
impl Forget for ResultData
impl Freeze for ResultData
impl Move for ResultData
impl RefUnwindSafe for ResultData
impl Send for ResultData
impl Sync for ResultData
impl Unpin for ResultData
impl UnsafeUnpin for ResultData
impl UnwindSafe for ResultData
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.