pub struct LeafResult {
pub leaf_id: String,
pub task_id: String,
pub role: Option<String>,
pub profile: Option<String>,
pub status: WorkflowRunStatus,
pub usage: WorkflowUsage,
pub memo_usage: WorkflowMemoUsage,
pub output: Option<String>,
pub artifacts: Vec<String>,
pub schema_error: Option<String>,
}Fields§
§leaf_id: String§task_id: String§role: Option<String>Fleet role the leaf was declared to run as, if any (#4177).
profile: Option<String>Fleet roster profile the leaf was declared to run as, if any.
status: WorkflowRunStatus§usage: WorkflowUsage§memo_usage: WorkflowMemoUsage§output: Option<String>§artifacts: Vec<String>§schema_error: Option<String>Post-hoc validation failure for the leaf’s structured response.
Trait Implementations§
Source§impl Clone for LeafResult
impl Clone for LeafResult
Source§fn clone(&self) -> LeafResult
fn clone(&self) -> LeafResult
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 LeafResult
impl Debug for LeafResult
Source§impl<'de> Deserialize<'de> for LeafResult
impl<'de> Deserialize<'de> for LeafResult
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 LeafResult
Source§impl PartialEq for LeafResult
impl PartialEq for LeafResult
Source§impl Serialize for LeafResult
impl Serialize for LeafResult
impl StructuralPartialEq for LeafResult
Auto Trait Implementations§
impl Freeze for LeafResult
impl RefUnwindSafe for LeafResult
impl Send for LeafResult
impl Sync for LeafResult
impl Unpin for LeafResult
impl UnsafeUnpin for LeafResult
impl UnwindSafe for LeafResult
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