pub struct VariantOutput {
pub variant_index: i16,
pub workflow_name: Option<String>,
pub kind: Option<VariantKind>,
pub output: Option<Value>,
pub artifacts: Vec<RunArtifact>,
}Expand description
A single variant’s output and artifacts within a run.
Fields§
§variant_index: i16§workflow_name: Option<String>Sub-workflow that produced this entry. For bundle runs each
entry has its own; for non-bundle runs every entry carries
the run’s single workflow_name. None on legacy data.
kind: Option<VariantKind>Card shape for this variant, lifted from the workflow’s
WorkflowOutput.kind. None when the workflow didn’t declare
a kind.
output: Option<Value>§artifacts: Vec<RunArtifact>Trait Implementations§
Source§impl Clone for VariantOutput
impl Clone for VariantOutput
Source§fn clone(&self) -> VariantOutput
fn clone(&self) -> VariantOutput
Returns a duplicate of the value. Read more
1.0.0 · 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 VariantOutput
impl Debug for VariantOutput
Source§impl<'de> Deserialize<'de> for VariantOutput
impl<'de> Deserialize<'de> for VariantOutput
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 VariantOutput
impl RefUnwindSafe for VariantOutput
impl Send for VariantOutput
impl Sync for VariantOutput
impl Unpin for VariantOutput
impl UnsafeUnpin for VariantOutput
impl UnwindSafe for VariantOutput
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