pub struct WorkflowRunConsumed {
pub active_ms: i64,
pub nano_aiu: i64,
pub subagents: i64,
}Expand description
Durable workflow resource consumption.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§active_ms: i64Accumulated active execution time in milliseconds.
nano_aiu: i64AI usage consumed by the run in nano-AIU.
subagents: i64Total subagents spawned by the run.
Trait Implementations§
Source§impl Clone for WorkflowRunConsumed
impl Clone for WorkflowRunConsumed
Source§impl Debug for WorkflowRunConsumed
impl Debug for WorkflowRunConsumed
Source§impl Default for WorkflowRunConsumed
impl Default for WorkflowRunConsumed
Source§impl<'de> Deserialize<'de> for WorkflowRunConsumed
impl<'de> Deserialize<'de> for WorkflowRunConsumed
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 WorkflowRunConsumed
impl RefUnwindSafe for WorkflowRunConsumed
impl Send for WorkflowRunConsumed
impl Sync for WorkflowRunConsumed
impl Unpin for WorkflowRunConsumed
impl UnsafeUnpin for WorkflowRunConsumed
impl UnwindSafe for WorkflowRunConsumed
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