pub struct SessionFactoryCancelResult {
pub error: Option<String>,
pub failure: Option<Value>,
pub reason: Option<String>,
pub result: Option<Value>,
pub run_id: String,
pub snapshot: Option<Value>,
pub status: FactoryRunStatus,
}Expand description
Complete current or terminal factory run envelope.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§error: Option<String>Error message for an errored run.
failure: Option<Value>Machine-readable failure details for an errored run.
reason: Option<String>Reason for a halted or cancelled run.
result: Option<Value>Completed factory result.
run_id: StringFactory run identifier.
snapshot: Option<Value>Partial journal and progress snapshot for a halted, cancelled, or errored run.
status: FactoryRunStatusCurrent or terminal factory run status.
Trait Implementations§
Source§impl Clone for SessionFactoryCancelResult
impl Clone for SessionFactoryCancelResult
Source§fn clone(&self) -> SessionFactoryCancelResult
fn clone(&self) -> SessionFactoryCancelResult
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 SessionFactoryCancelResult
impl Debug for SessionFactoryCancelResult
Source§impl Default for SessionFactoryCancelResult
impl Default for SessionFactoryCancelResult
Source§fn default() -> SessionFactoryCancelResult
fn default() -> SessionFactoryCancelResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionFactoryCancelResult
impl<'de> Deserialize<'de> for SessionFactoryCancelResult
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
Auto Trait Implementations§
impl Freeze for SessionFactoryCancelResult
impl RefUnwindSafe for SessionFactoryCancelResult
impl Send for SessionFactoryCancelResult
impl Sync for SessionFactoryCancelResult
impl Unpin for SessionFactoryCancelResult
impl UnsafeUnpin for SessionFactoryCancelResult
impl UnwindSafe for SessionFactoryCancelResult
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