pub struct WorkflowDescription {Show 13 fields
pub workflow_id: Option<String>,
pub run_id: Option<String>,
pub workflow_type: Option<String>,
pub status: Option<String>,
pub closed_reason: Option<String>,
pub error: Option<String>,
pub failure: Option<Value>,
pub exception: Option<Value>,
pub failures: Vec<Value>,
pub output: Option<Value>,
pub output_envelope: Option<Value>,
pub output_avro_value: Option<AvroValue>,
pub raw: HashMap<String, Value>,
}Fields§
§workflow_id: Option<String>§run_id: Option<String>§workflow_type: Option<String>§status: Option<String>§closed_reason: Option<String>§error: Option<String>§failure: Option<Value>§exception: Option<Value>§failures: Vec<Value>§output: Option<Value>§output_envelope: Option<Value>§output_avro_value: Option<AvroValue>§raw: HashMap<String, Value>Implementations§
Source§impl WorkflowDescription
impl WorkflowDescription
pub fn is_completed(&self) -> bool
pub fn is_terminal(&self) -> bool
Trait Implementations§
Source§impl Clone for WorkflowDescription
impl Clone for WorkflowDescription
Source§impl Debug for WorkflowDescription
impl Debug for WorkflowDescription
Source§impl<'de> Deserialize<'de> for WorkflowDescription
impl<'de> Deserialize<'de> for WorkflowDescription
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 Forget for WorkflowDescription
impl Freeze for WorkflowDescriptionwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Value>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
PhantomData<AvroValue>: Freeze,
*const LeafNode<String, AvroValue> is !null: Freeze,
PhantomData<Box<(String, AvroValue)>>: Freeze,
PhantomData<(String, Value)>: Freeze,
impl Move for WorkflowDescription
impl RefUnwindSafe for WorkflowDescription
impl Send for WorkflowDescription
impl Sync for WorkflowDescription
impl Unpin for WorkflowDescription
impl UnsafeUnpin for WorkflowDescriptionwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
PhantomData<AvroValue>: UnsafeUnpin,
*const LeafNode<String, AvroValue> is !null: UnsafeUnpin,
PhantomData<Box<(String, AvroValue)>>: UnsafeUnpin,
PhantomData<(String, Value)>: UnsafeUnpin,
impl UnwindSafe for WorkflowDescriptionwhere
RawVecInner: UnwindSafe,
BTreeMap<String, Value>: UnwindSafe,
BTreeMap<String, AvroValue>: UnwindSafe,
HashMap<String, Value>: UnwindSafe,
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